pub struct MetricsGroup {
pub group: String,
pub buckets: Vec<MetricsBucket>,
}Expand description
A group of time buckets, typically representing a unique tag combination.
Fields§
§group: StringGroup identifier (e.g., “host:server1,env:prod”)
buckets: Vec<MetricsBucket>Time series buckets for this group
Trait Implementations§
Source§impl Clone for MetricsGroup
impl Clone for MetricsGroup
Source§fn clone(&self) -> MetricsGroup
fn clone(&self) -> MetricsGroup
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 MetricsGroup
impl Debug for MetricsGroup
Source§impl<'de> Deserialize<'de> for MetricsGroup
impl<'de> Deserialize<'de> for MetricsGroup
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 MetricsGroup
impl RefUnwindSafe for MetricsGroup
impl Send for MetricsGroup
impl Sync for MetricsGroup
impl Unpin for MetricsGroup
impl UnsafeUnpin for MetricsGroup
impl UnwindSafe for MetricsGroup
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