pub enum RelativeUnit {
Second,
Minute,
Hour,
Day,
Week,
Month,
Year,
}Expand description
The unit a relative time is shown in (relative_time_unit).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RelativeUnit
impl Clone for RelativeUnit
impl Copy for RelativeUnit
Source§impl Debug for RelativeUnit
impl Debug for RelativeUnit
impl Eq for RelativeUnit
Source§impl PartialEq for RelativeUnit
impl PartialEq for RelativeUnit
impl StructuralPartialEq for RelativeUnit
Auto Trait Implementations§
impl Freeze for RelativeUnit
impl RefUnwindSafe for RelativeUnit
impl Send for RelativeUnit
impl Sync for RelativeUnit
impl Unpin for RelativeUnit
impl UnsafeUnpin for RelativeUnit
impl UnwindSafe for RelativeUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.