Struct atrium_api::types::string::Datetime
source · pub struct Datetime { /* private fields */ }
Expand description
A Lexicon timestamp.
Implementations§
Trait Implementations§
source§impl AsRef<DateTime<FixedOffset>> for Datetime
impl AsRef<DateTime<FixedOffset>> for Datetime
source§fn as_ref(&self) -> &DateTime<FixedOffset>
fn as_ref(&self) -> &DateTime<FixedOffset>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<'de> Deserialize<'de> for Datetime
impl<'de> Deserialize<'de> for Datetime
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 Ord for Datetime
impl Ord for Datetime
source§impl PartialEq for Datetime
impl PartialEq for Datetime
source§impl PartialOrd for Datetime
impl PartialOrd for Datetime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Datetime
Auto Trait Implementations§
impl RefUnwindSafe for Datetime
impl Send for Datetime
impl Sync for Datetime
impl Unpin for Datetime
impl UnwindSafe for Datetime
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