pub enum AggregationLevel {
Day,
Week,
Month,
}Expand description
Как сгруппировать данные (по умолчанию по дням): * day — по дням * week — по неделям * month — по месяцам
Variants§
Trait Implementations§
Source§impl Clone for AggregationLevel
impl Clone for AggregationLevel
impl Copy for AggregationLevel
Source§impl Debug for AggregationLevel
impl Debug for AggregationLevel
Source§impl Default for AggregationLevel
impl Default for AggregationLevel
Source§fn default() -> AggregationLevel
fn default() -> AggregationLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AggregationLevel
impl<'de> Deserialize<'de> for AggregationLevel
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
impl Eq for AggregationLevel
Source§impl Hash for AggregationLevel
impl Hash for AggregationLevel
Source§impl Ord for AggregationLevel
impl Ord for AggregationLevel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AggregationLevel
impl PartialEq for AggregationLevel
Source§impl PartialOrd for AggregationLevel
impl PartialOrd for AggregationLevel
Source§impl Serialize for AggregationLevel
impl Serialize for AggregationLevel
impl StructuralPartialEq for AggregationLevel
Auto Trait Implementations§
impl Forget for AggregationLevel
impl Freeze for AggregationLevel
impl Move for AggregationLevel
impl RefUnwindSafe for AggregationLevel
impl Send for AggregationLevel
impl Sync for AggregationLevel
impl Unpin for AggregationLevel
impl UnsafeUnpin for AggregationLevel
impl UnwindSafe for AggregationLevel
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