pub enum TimeframeUnit {
Second,
Minute,
Hour,
Day,
Week,
Month,
Year,
}Expand description
Time unit for timeframes
Variants§
Trait Implementations§
Source§impl Clone for TimeframeUnit
impl Clone for TimeframeUnit
Source§fn clone(&self) -> TimeframeUnit
fn clone(&self) -> TimeframeUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeframeUnit
impl Debug for TimeframeUnit
Source§impl<'de> Deserialize<'de> for TimeframeUnit
impl<'de> Deserialize<'de> for TimeframeUnit
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 Hash for TimeframeUnit
impl Hash for TimeframeUnit
Source§impl PartialEq for TimeframeUnit
impl PartialEq for TimeframeUnit
Source§impl Serialize for TimeframeUnit
impl Serialize for TimeframeUnit
impl Copy for TimeframeUnit
impl Eq for TimeframeUnit
impl StructuralPartialEq for TimeframeUnit
Auto Trait Implementations§
impl Freeze for TimeframeUnit
impl RefUnwindSafe for TimeframeUnit
impl Send for TimeframeUnit
impl Sync for TimeframeUnit
impl Unpin for TimeframeUnit
impl UnsafeUnpin for TimeframeUnit
impl UnwindSafe for TimeframeUnit
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