pub struct DateValue {
pub ms: i64,
pub offset: i64,
pub date_only: bool,
pub fraction: bool,
}Expand description
A parsed date: the instant (milliseconds since the Unix epoch), the offset
it was WRITTEN in (minutes east of UTC; 0 for Z and for a date-only
value), whether it is date-only, and whether it carried a fraction of a
second as written (kept on render).
Fields§
§ms: i64§offset: i64§date_only: bool§fraction: boolTrait Implementations§
impl Copy for DateValue
impl Eq for DateValue
impl StructuralPartialEq for DateValue
Auto Trait Implementations§
impl Freeze for DateValue
impl RefUnwindSafe for DateValue
impl Send for DateValue
impl Sync for DateValue
impl Unpin for DateValue
impl UnsafeUnpin for DateValue
impl UnwindSafe for DateValue
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.