Struct prometheus_http_query::response::Alertmanagers
source · pub struct Alertmanagers { /* private fields */ }Expand description
Collection of active and dropped alertmanagers as returned by the API.
Implementations§
source§impl Alertmanagers
impl Alertmanagers
sourcepub fn active(&self) -> &[Alertmanager]
pub fn active(&self) -> &[Alertmanager]
Get a list of currently active alertmanagers.
sourcepub fn dropped(&self) -> &[Alertmanager]
pub fn dropped(&self) -> &[Alertmanager]
Get a list of dropped alertmanagers.
Trait Implementations§
source§impl Clone for Alertmanagers
impl Clone for Alertmanagers
source§fn clone(&self) -> Alertmanagers
fn clone(&self) -> Alertmanagers
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 Alertmanagers
impl Debug for Alertmanagers
source§impl<'de> Deserialize<'de> for Alertmanagers
impl<'de> Deserialize<'de> for Alertmanagers
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