Struct plist::Date
[−]
[src]
pub struct Date { /* fields omitted */ }
A UTC timestamp. Used for serialization to and from the plist date type.
Trait Implementations
impl Serialize for Date
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for Date
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for Date
[src]
fn clone(&self) -> Date
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Date
[src]
fn eq(&self, __arg_0: &Date) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Date) -> bool
[src]
This method tests for !=
.
impl Debug for Date
[src]
fn fmt(&self, f: &mut Formatter) -> StdResult<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<SystemTime> for Date
[src]
fn from(date: SystemTime) -> Self
[src]
Performs the conversion.
impl Into<SystemTime> for Date
[src]
fn into(self) -> SystemTime
[src]
Performs the conversion.