Struct check_jitter::Thresholds
source · pub struct Thresholds {
pub warning: Option<NagiosRange>,
pub critical: Option<NagiosRange>,
}
Fields§
§warning: Option<NagiosRange>
§critical: Option<NagiosRange>
Implementations§
source§impl Thresholds
impl Thresholds
pub fn new(warning: Option<NagiosRange>, critical: Option<NagiosRange>) -> Self
Trait Implementations§
source§impl Clone for Thresholds
impl Clone for Thresholds
source§fn clone(&self) -> Thresholds
fn clone(&self) -> Thresholds
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 Thresholds
impl Debug for Thresholds
source§impl PartialEq for Thresholds
impl PartialEq for Thresholds
source§fn eq(&self, other: &Thresholds) -> bool
fn eq(&self, other: &Thresholds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Thresholds
Auto Trait Implementations§
impl Freeze for Thresholds
impl RefUnwindSafe for Thresholds
impl Send for Thresholds
impl Sync for Thresholds
impl Unpin for Thresholds
impl UnwindSafe for Thresholds
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)