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§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
Auto Trait Implementations§
impl Forget for Alertmanagers
impl Freeze for Alertmanagers
impl Move for Alertmanagers
impl RefUnwindSafe for Alertmanagers
impl Send for Alertmanagerswhere
RawVecInner: Send,
impl Sync for Alertmanagerswhere
RawVecInner: Sync,
impl Unpin for Alertmanagers
impl UnsafeUnpin for Alertmanagers
impl UnwindSafe for Alertmanagerswhere
RawVecInner: UnwindSafe,
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