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