#[non_exhaustive]pub struct IxdtfParseRecord<'a, T: EncodingType> {
pub date: Option<DateRecord>,
pub time: Option<TimeRecord>,
pub offset: Option<UtcOffsetRecordOrZ>,
pub tz: Option<TimeZoneAnnotation<'a, T>>,
pub calendar: Option<&'a [T::CodeUnit]>,
}Expand description
An IxdtfParseRecord is an intermediary record returned by IxdtfParser.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.date: Option<DateRecord>Parsed DateRecord
time: Option<TimeRecord>Parsed TimeRecord
offset: Option<UtcOffsetRecordOrZ>Parsed UtcOffset
tz: Option<TimeZoneAnnotation<'a, T>>Parsed TimeZone annotation with critical flag and data (UTCOffset | IANA name)
calendar: Option<&'a [T::CodeUnit]>The parsed calendar value.
Trait Implementations§
Source§impl<'a, T: Default + EncodingType> Default for IxdtfParseRecord<'a, T>where
T::CodeUnit: Default,
impl<'a, T: Default + EncodingType> Default for IxdtfParseRecord<'a, T>where
T::CodeUnit: Default,
Source§fn default() -> IxdtfParseRecord<'a, T>
fn default() -> IxdtfParseRecord<'a, T>
Returns the “default value” for a type. Read more
Source§impl<'a, T: PartialEq + EncodingType> PartialEq for IxdtfParseRecord<'a, T>where
T::CodeUnit: PartialEq,
impl<'a, T: PartialEq + EncodingType> PartialEq for IxdtfParseRecord<'a, T>where
T::CodeUnit: PartialEq,
impl<'a, T: EncodingType> StructuralPartialEq for IxdtfParseRecord<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for IxdtfParseRecord<'a, T>
impl<'a, T> RefUnwindSafe for IxdtfParseRecord<'a, T>where
<T as EncodingType>::CodeUnit: RefUnwindSafe,
impl<'a, T> Send for IxdtfParseRecord<'a, T>where
<T as EncodingType>::CodeUnit: Sync,
impl<'a, T> Sync for IxdtfParseRecord<'a, T>where
<T as EncodingType>::CodeUnit: Sync,
impl<'a, T> Unpin for IxdtfParseRecord<'a, T>
impl<'a, T> UnwindSafe for IxdtfParseRecord<'a, T>where
<T as EncodingType>::CodeUnit: RefUnwindSafe,
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