pub struct MonitorTimeout {
pub check: Option<String>,
pub milliseconds: u64,
}Expand description
One row inside a kind: 10166 monitor’s timeout matrix.
The spec leaves the column ordering slightly ambiguous: index 1 MAY be the milliseconds value, and index 2 MAY be the check name the timeout applies to — or it MAY be reversed. The parser sniffs the numeric column so either ordering decodes cleanly.
Fields§
§check: Option<String>Optional check name the timeout applies to. None means the
timeout applies to every check the monitor performs (spec
§“Tags”).
milliseconds: u64Timeout in milliseconds.
Implementations§
Trait Implementations§
Source§impl Clone for MonitorTimeout
impl Clone for MonitorTimeout
Source§fn clone(&self) -> MonitorTimeout
fn clone(&self) -> MonitorTimeout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MonitorTimeout
impl Debug for MonitorTimeout
impl Eq for MonitorTimeout
Source§impl Hash for MonitorTimeout
impl Hash for MonitorTimeout
Source§impl PartialEq for MonitorTimeout
impl PartialEq for MonitorTimeout
impl StructuralPartialEq for MonitorTimeout
Auto Trait Implementations§
impl Freeze for MonitorTimeout
impl RefUnwindSafe for MonitorTimeout
impl Send for MonitorTimeout
impl Sync for MonitorTimeout
impl Unpin for MonitorTimeout
impl UnsafeUnpin for MonitorTimeout
impl UnwindSafe for MonitorTimeout
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.