pub struct CalendarValue<'view> {
pub negative_year: bool,
pub year_digits: &'view str,
pub month: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
pub fraction_digits: Option<&'view str>,
pub timezone_minutes: Option<i16>,
}Expand description
Exact components supplied by the XML owner’s complete XSD1.0 dateTime kernel. Digits are original and arbitrary precision. This is a parsed lexical view, not a finite UTC conversion or claim that a leap second actually occurred.
Fields§
§negative_year: boolXSD1.0 sign: -0001 denotes 1 BCE; year zero is forbidden.
year_digits: &'view strFour or more original validated digits, without precision truncation.
month: u8Gregorian month.
day: u8Day in the month.
hour: u8Original hour, including end-of-day 24.
minute: u8Minute within the hour.
second: u8Original whole seconds, possibly a leap-second label.
fraction_digits: Option<&'view str>Complete fractional digits, preserving arbitrary precision and zeros.
timezone_minutes: Option<i16>Original optional signed timezone offset, in minutes.
Trait Implementations§
Source§impl<'view> Clone for CalendarValue<'view>
impl<'view> Clone for CalendarValue<'view>
impl<'view> Copy for CalendarValue<'view>
Auto Trait Implementations§
impl<'view> Forget for CalendarValue<'view>
impl<'view> Freeze for CalendarValue<'view>
impl<'view> RefUnwindSafe for CalendarValue<'view>
impl<'view> Send for CalendarValue<'view>
impl<'view> Sync for CalendarValue<'view>
impl<'view> Unpin for CalendarValue<'view>
impl<'view> UnsafeUnpin for CalendarValue<'view>
impl<'view> UnwindSafe for CalendarValue<'view>
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