pub enum SpaceAgg {
Avg,
Sum,
Min,
Max,
Count,
Percentile(String),
}Expand description
Spatial aggregation across reporting sources.
Besides the named aggregators, Datadog allows a percentile selector such as
p95: / p99.9:, which we keep as SpaceAgg::Percentile carrying the
percentile rank verbatim (e.g. "95", "99.9").
Variants§
Avg
avg
Sum
sum
Min
min
Max
max
Count
count
Percentile(String)
A percentile selector, e.g. p95 → Percentile("95"). The rank is kept
as text so fractional percentiles (p99.9) round-trip losslessly.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpaceAgg
impl<'de> Deserialize<'de> for SpaceAgg
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 SpaceAgg
impl StructuralPartialEq for SpaceAgg
Auto Trait Implementations§
impl Freeze for SpaceAgg
impl RefUnwindSafe for SpaceAgg
impl Send for SpaceAgg
impl Sync for SpaceAgg
impl Unpin for SpaceAgg
impl UnsafeUnpin for SpaceAgg
impl UnwindSafe for SpaceAgg
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