pub struct HostSpec {
pub name: String,
pub kind: HostKind,
pub sections: Vec<OverviewSection>,
pub alerts: AlertsConfig,
}Expand description
One monitored host.
Fields§
§name: StringName for tabs and cards.
kind: HostKind§sections: Vec<OverviewSection>Overview sections in priority order (host override or the default).
alerts: AlertsConfigAlert thresholds (the host’s own over [alerts]).
Implementations§
Trait Implementations§
impl StructuralPartialEq for HostSpec
Auto Trait Implementations§
impl Freeze for HostSpec
impl RefUnwindSafe for HostSpec
impl Send for HostSpec
impl Sync for HostSpec
impl Unpin for HostSpec
impl UnsafeUnpin for HostSpec
impl UnwindSafe for HostSpec
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