pub struct AggregationConfig {
pub interval: Duration,
pub window_size: Duration,
pub enable_percentiles: bool,
}Expand description
Aggregation configuration
Fields§
§interval: DurationAggregation interval
window_size: DurationAggregation window size
enable_percentiles: boolEnable percentile calculations
Trait Implementations§
Source§impl Clone for AggregationConfig
impl Clone for AggregationConfig
Source§fn clone(&self) -> AggregationConfig
fn clone(&self) -> AggregationConfig
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 AggregationConfig
impl Debug for AggregationConfig
Source§impl Default for AggregationConfig
impl Default for AggregationConfig
Source§impl<'de> Deserialize<'de> for AggregationConfig
impl<'de> Deserialize<'de> for AggregationConfig
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
Auto Trait Implementations§
impl Freeze for AggregationConfig
impl RefUnwindSafe for AggregationConfig
impl Send for AggregationConfig
impl Sync for AggregationConfig
impl Unpin for AggregationConfig
impl UnwindSafe for AggregationConfig
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