pub enum AggregateUsage {
LastDuringPeriod,
LastEver,
Max,
Sum,
}Expand description
Variants§
Trait Implementations§
source§impl Clone for AggregateUsage
impl Clone for AggregateUsage
source§fn clone(&self) -> AggregateUsage
fn clone(&self) -> AggregateUsage
Returns a copy 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 AggregateUsage
impl Debug for AggregateUsage
source§impl Default for AggregateUsage
impl Default for AggregateUsage
source§fn default() -> AggregateUsage
fn default() -> AggregateUsage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AggregateUsage
impl<'de> Deserialize<'de> for AggregateUsage
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 AggregateUsage
impl Hash for AggregateUsage
source§impl Ord for AggregateUsage
impl Ord for AggregateUsage
source§fn cmp(&self, other: &AggregateUsage) -> Ordering
fn cmp(&self, other: &AggregateUsage) -> 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 AggregateUsage
impl PartialEq for AggregateUsage
source§fn eq(&self, other: &AggregateUsage) -> bool
fn eq(&self, other: &AggregateUsage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AggregateUsage
impl PartialOrd for AggregateUsage
source§fn partial_cmp(&self, other: &AggregateUsage) -> Option<Ordering>
fn partial_cmp(&self, other: &AggregateUsage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for AggregateUsage
impl Serialize for AggregateUsage
impl Copy for AggregateUsage
impl Eq for AggregateUsage
impl StructuralPartialEq for AggregateUsage
Auto Trait Implementations§
impl Freeze for AggregateUsage
impl RefUnwindSafe for AggregateUsage
impl Send for AggregateUsage
impl Sync for AggregateUsage
impl Unpin for AggregateUsage
impl UnwindSafe for AggregateUsage
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.