Struct edgedb_client::model::Datetime [−][src]
pub struct Datetime { /* fields omitted */ }Expand description
An UTC date and time
Implementations
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
type Error = OutOfRangeError
type Error = OutOfRangeError
The type returned in the event of a conversion error.
pub fn try_from(
value: SystemTime
) -> Result<Datetime, <Datetime as TryFrom<SystemTime>>::Error>
pub fn try_from(
value: SystemTime
) -> Result<Datetime, <Datetime as TryFrom<SystemTime>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Datetime
impl UnwindSafe for Datetime
Blanket Implementations
Mutably borrows from an owned value. Read more