pub struct Tick(/* private fields */);
Expand description
A tick in time.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tick
impl<'de> Deserialize<'de> for Tick
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<OffsetDateTime> for Tick
impl From<OffsetDateTime> for Tick
source§fn from(value: OffsetDateTime) -> Self
fn from(value: OffsetDateTime) -> Self
Converts to this type from the input type.
source§impl Ord for Tick
impl Ord for Tick
source§impl PartialEq for Tick
impl PartialEq for Tick
source§impl PartialOrd for Tick
impl PartialOrd for Tick
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 Tick
impl Eq for Tick
impl StructuralEq for Tick
impl StructuralPartialEq for Tick
Auto Trait Implementations§
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnwindSafe for Tick
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