pub struct Date { /* private fields */ }
Expand description
A UTC timestamp. Used for serialization to and from the plist date type.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Date
impl<'de> Deserialize<'de> for Date
source§fn 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
source§impl From<SystemTime> for Date
impl From<SystemTime> for Date
source§fn from(date: SystemTime) -> Self
fn from(date: SystemTime) -> Self
Converts to this type from the input type.
source§impl Into<SystemTime> for Date
impl Into<SystemTime> for Date
source§fn into(self) -> SystemTime
fn into(self) -> SystemTime
Converts this type into the (usually inferred) input type.
source§impl PartialEq for Date
impl PartialEq for Date
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§
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