pub struct PrometheusResult {
pub metric: HashMap<String, String>,
pub value: Option<(f64, String)>,
pub values: Option<Vec<(f64, String)>>,
}Expand description
Prometheus result
Fields§
§metric: HashMap<String, String>§value: Option<(f64, String)>§values: Option<Vec<(f64, String)>>Trait Implementations§
Source§impl Debug for PrometheusResult
impl Debug for PrometheusResult
Source§impl<'de> Deserialize<'de> for PrometheusResult
impl<'de> Deserialize<'de> for PrometheusResult
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 PrometheusResult
impl RefUnwindSafe for PrometheusResult
impl Send for PrometheusResult
impl Sync for PrometheusResult
impl Unpin for PrometheusResult
impl UnwindSafe for PrometheusResult
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