pub struct DateTimeInput<'a> {
pub order: DateOrder,
pub zone: &'a dyn TimeZone,
pub zones: &'a dyn ZoneLookup,
pub abbrevs: &'a ZoneAbbrevs,
pub now: i64,
}Expand description
The session state that the text input of the date and time types reads.
Fields§
§order: DateOrderThe field order part of DateStyle.
zone: &'a dyn TimeZoneThe TimeZone setting.
zones: &'a dyn ZoneLookupThe zone names, such as america/new_york.
abbrevs: &'a ZoneAbbrevsThe timezone_abbreviations setting.
now: i64The start of the transaction in microseconds since 2000-01-01, for now and today.
Trait Implementations§
Source§impl<'a> Clone for DateTimeInput<'a>
impl<'a> Clone for DateTimeInput<'a>
impl<'a> Copy for DateTimeInput<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DateTimeInput<'a>
impl<'a> !Send for DateTimeInput<'a>
impl<'a> !Sync for DateTimeInput<'a>
impl<'a> !UnwindSafe for DateTimeInput<'a>
impl<'a> Freeze for DateTimeInput<'a>
impl<'a> Unpin for DateTimeInput<'a>
impl<'a> UnsafeUnpin for DateTimeInput<'a>
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