pub struct Date { /* private fields */ }
Expand description
A UTC timestamp. Used for serialization to and from the plist date type.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Date
impl<'de> Deserialize<'de> for Date
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<SystemTime> for Date
impl From<SystemTime> for Date
sourcefn from(date: SystemTime) -> Self
fn from(date: SystemTime) -> Self
Converts to this type from the input type.
sourceimpl Into<SystemTime> for Date
impl Into<SystemTime> for Date
sourcefn into(self) -> SystemTime
fn into(self) -> SystemTime
Converts this type into the (usually inferred) input type.
impl Copy for Date
impl StructuralPartialEq for Date
Auto Trait Implementations
impl RefUnwindSafe for Date
impl Send for Date
impl Sync for Date
impl Unpin for Date
impl UnwindSafe for Date
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more