Enum ixdtf::parsers::records::UtcOffsetRecordOrZ
source · pub enum UtcOffsetRecordOrZ {
Offset(UtcOffsetRecord),
Z,
}
Variants§
Offset(UtcOffsetRecord)
Z
Implementations§
source§impl UtcOffsetRecordOrZ
impl UtcOffsetRecordOrZ
sourcepub fn resolve_rfc_9557(self) -> UtcOffsetRecord
pub fn resolve_rfc_9557(self) -> UtcOffsetRecord
Resolves to a UtcOffsetRecord
according to RFC9557: “Z” == “-00:00”
Trait Implementations§
source§impl Clone for UtcOffsetRecordOrZ
impl Clone for UtcOffsetRecordOrZ
source§fn clone(&self) -> UtcOffsetRecordOrZ
fn clone(&self) -> UtcOffsetRecordOrZ
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UtcOffsetRecordOrZ
impl Debug for UtcOffsetRecordOrZ
source§impl PartialEq for UtcOffsetRecordOrZ
impl PartialEq for UtcOffsetRecordOrZ
impl Copy for UtcOffsetRecordOrZ
impl StructuralPartialEq for UtcOffsetRecordOrZ
Auto Trait Implementations§
impl Freeze for UtcOffsetRecordOrZ
impl RefUnwindSafe for UtcOffsetRecordOrZ
impl Send for UtcOffsetRecordOrZ
impl Sync for UtcOffsetRecordOrZ
impl Unpin for UtcOffsetRecordOrZ
impl UnwindSafe for UtcOffsetRecordOrZ
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)