pub struct Thresholds {
pub lower_non_recoverable: bool,
pub lower_critical: bool,
pub lower_non_critical: bool,
pub upper_non_recoverable: bool,
pub upper_critical: bool,
pub upper_non_critical: bool,
}Fields§
§lower_non_recoverable: bool§lower_critical: bool§lower_non_critical: bool§upper_non_recoverable: bool§upper_critical: bool§upper_non_critical: boolImplementations§
Source§impl Thresholds
impl Thresholds
pub fn for_kind(&self, kind: ThresholdKind) -> bool
Trait Implementations§
Source§impl Clone for Thresholds
impl Clone for Thresholds
Source§fn clone(&self) -> Thresholds
fn clone(&self) -> Thresholds
Returns a duplicate 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
impl Copy 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