pub struct Thresholds {
pub warn: Option<f64>,
pub bad: Option<f64>,
}Expand description
Fill levels that tint a meter.
Fields§
§warn: Option<f64>warn at or above this.
bad: Option<f64>bad at or above this.
Trait Implementations§
Source§impl Clone for Thresholds
impl Clone for Thresholds
impl Copy for Thresholds
Source§impl Debug for Thresholds
impl Debug for Thresholds
Source§impl Default for Thresholds
impl Default for Thresholds
Source§impl PartialEq for Thresholds
impl PartialEq for Thresholds
Source§impl Serialize for Thresholds
impl Serialize for Thresholds
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 UnsafeUnpin 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