Struct prometheus_http_query::response::TargetMetadata
source · pub struct TargetMetadata { /* private fields */ }Expand description
A target metadata object.
Implementations§
source§impl TargetMetadata
impl TargetMetadata
sourcepub fn metric_type(&self) -> MetricType
pub fn metric_type(&self) -> MetricType
Get the metric type.
Trait Implementations§
source§impl Clone for TargetMetadata
impl Clone for TargetMetadata
source§fn clone(&self) -> TargetMetadata
fn clone(&self) -> TargetMetadata
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 TargetMetadata
impl Debug for TargetMetadata
source§impl<'de> Deserialize<'de> for TargetMetadata
impl<'de> Deserialize<'de> for TargetMetadata
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