pub struct PrometheusSeriesResponse {
pub status: String,
pub error: Option<String>,
pub error_type: Option<String>,
pub data: Vec<HashMap<String, String>>,
}Expand description
Prometheus API response wrapper for series endpoint.
Fields§
§status: String§error: Option<String>§error_type: Option<String>§data: Vec<HashMap<String, String>>Trait Implementations§
Source§impl Debug for PrometheusSeriesResponse
impl Debug for PrometheusSeriesResponse
Source§impl<'de> Deserialize<'de> for PrometheusSeriesResponse
impl<'de> Deserialize<'de> for PrometheusSeriesResponse
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 PrometheusSeriesResponse
impl RefUnwindSafe for PrometheusSeriesResponse
impl Send for PrometheusSeriesResponse
impl Sync for PrometheusSeriesResponse
impl Unpin for PrometheusSeriesResponse
impl UnsafeUnpin for PrometheusSeriesResponse
impl UnwindSafe for PrometheusSeriesResponse
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