pub enum StatisticsPeriod {
OneDay,
FiveMinutes,
}
Expand description
StatisticsPeriod : Period length for a statistics data point Period length for a statistics data point
Variants§
Trait Implementations§
Source§impl Clone for StatisticsPeriod
impl Clone for StatisticsPeriod
Source§fn clone(&self) -> StatisticsPeriod
fn clone(&self) -> StatisticsPeriod
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 StatisticsPeriod
impl Debug for StatisticsPeriod
Source§impl Default for StatisticsPeriod
impl Default for StatisticsPeriod
Source§fn default() -> StatisticsPeriod
fn default() -> StatisticsPeriod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatisticsPeriod
impl<'de> Deserialize<'de> for StatisticsPeriod
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 Display for StatisticsPeriod
impl Display for StatisticsPeriod
Source§impl Hash for StatisticsPeriod
impl Hash for StatisticsPeriod
Source§impl Ord for StatisticsPeriod
impl Ord for StatisticsPeriod
Source§fn cmp(&self, other: &StatisticsPeriod) -> Ordering
fn cmp(&self, other: &StatisticsPeriod) -> Ordering
1.21.0 · 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
Source§impl PartialEq for StatisticsPeriod
impl PartialEq for StatisticsPeriod
Source§impl PartialOrd for StatisticsPeriod
impl PartialOrd for StatisticsPeriod
Source§impl Serialize for StatisticsPeriod
impl Serialize for StatisticsPeriod
impl Copy for StatisticsPeriod
impl Eq for StatisticsPeriod
impl StructuralPartialEq for StatisticsPeriod
Auto Trait Implementations§
impl Freeze for StatisticsPeriod
impl RefUnwindSafe for StatisticsPeriod
impl Send for StatisticsPeriod
impl Sync for StatisticsPeriod
impl Unpin for StatisticsPeriod
impl UnwindSafe for StatisticsPeriod
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