Struct clocksource::datetime::DateTime
source · pub struct DateTime { /* private fields */ }
Trait Implementations§
source§impl From<UnixInstant> for DateTime
impl From<UnixInstant> for DateTime
source§fn from(other: UnixInstant) -> Self
fn from(other: UnixInstant) -> Self
Converts to this type from the input type.
source§impl From<UnixInstant> for DateTime
impl From<UnixInstant> for DateTime
source§fn from(other: UnixInstant) -> Self
fn from(other: UnixInstant) -> Self
Converts to this type from the input type.
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 Copy for DateTime
impl Eq for DateTime
impl StructuralEq for DateTime
impl StructuralPartialEq 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