pub struct StatisticSet {
pub min: i64,
pub max: i64,
pub sum: i64,
pub count: u64,
}Expand description
A basic aggregation.
Fields§
§min: i64Minimum observed value
max: i64Maximum observed value
sum: i64Sum of all observed values
count: u64Count of observations
Trait Implementations§
Source§impl Clone for StatisticSet
impl Clone for StatisticSet
Source§fn clone(&self) -> StatisticSet
fn clone(&self) -> StatisticSet
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 StatisticSet
impl Debug for StatisticSet
Source§impl Default for StatisticSet
impl Default for StatisticSet
Source§impl Display for StatisticSet
impl Display for StatisticSet
Source§impl From<StatisticSet> for StatisticSet
impl From<StatisticSet> for StatisticSet
Source§fn from(value: StatisticSet) -> Self
fn from(value: StatisticSet) -> Self
Converts to this type from the input type.
Source§impl Ord for StatisticSet
impl Ord for StatisticSet
Source§fn cmp(&self, other: &StatisticSet) -> Ordering
fn cmp(&self, other: &StatisticSet) -> 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 StatisticSet
impl PartialEq for StatisticSet
Source§impl PartialOrd for StatisticSet
impl PartialOrd for StatisticSet
impl Eq for StatisticSet
impl StructuralPartialEq for StatisticSet
Auto Trait Implementations§
impl Freeze for StatisticSet
impl RefUnwindSafe for StatisticSet
impl Send for StatisticSet
impl Sync for StatisticSet
impl Unpin for StatisticSet
impl UnwindSafe for StatisticSet
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request