Struct relay_metrics::meta::MetricMeta
source · pub struct MetricMeta {
pub timestamp: StartOfDayUnixTimestamp,
pub mapping: HashMap<MetricResourceIdentifier<'static>, Vec<Item>>,
}
Expand description
A metric metadata item.
Fields§
§timestamp: StartOfDayUnixTimestamp
Timestamp scope for the contained metadata.
Metric metadata is collected in daily intervals, so this may be truncated to the start of the day (UTC) already.
mapping: HashMap<MetricResourceIdentifier<'static>, Vec<Item>>
The contained metadata mapped by MRI.
Trait Implementations§
source§impl Clone for MetricMeta
impl Clone for MetricMeta
source§fn clone(&self) -> MetricMeta
fn clone(&self) -> MetricMeta
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 MetricMeta
impl Debug for MetricMeta
source§impl<'de> Deserialize<'de> for MetricMeta
impl<'de> Deserialize<'de> for MetricMeta
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 RefUnwindSafe for MetricMeta
impl Send for MetricMeta
impl Sync for MetricMeta
impl Unpin for MetricMeta
impl UnwindSafe for MetricMeta
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