Enum primitives::analytics::Timeframe
source · pub enum Timeframe {
Year,
Month,
Week,
Day,
}
Variants
Year
Timeframe::Year
returns analytics grouped by month.
Month
Timeframe::Month
returns analytics grouped by day.
Week
Timeframe::Week
returns analytics grouped by hour.
Same as Timeframe::Day
.
Day
Timeframe::Day
returns analytics grouped by hour.
Same as Timeframe::Week
.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Timeframe
impl<'de> Deserialize<'de> for Timeframe
sourcefn 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
impl Eq for Timeframe
impl StructuralEq for Timeframe
impl StructuralPartialEq for Timeframe
Auto Trait Implementations
impl RefUnwindSafe for Timeframe
impl Send for Timeframe
impl Sync for Timeframe
impl Unpin for Timeframe
impl UnwindSafe for Timeframe
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more