pub struct ThresholdOverrides {
pub safe_threshold: Option<f64>,
pub caution_threshold: Option<f64>,
pub block_threshold: Option<f64>,
}Expand description
Optional per-channel threshold overrides.
Fields§
§safe_threshold: Option<f64>§caution_threshold: Option<f64>§block_threshold: Option<f64>Trait Implementations§
Source§impl Clone for ThresholdOverrides
impl Clone for ThresholdOverrides
Source§fn clone(&self) -> ThresholdOverrides
fn clone(&self) -> ThresholdOverrides
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 ThresholdOverrides
impl Debug for ThresholdOverrides
Source§impl Default for ThresholdOverrides
impl Default for ThresholdOverrides
Source§fn default() -> ThresholdOverrides
fn default() -> ThresholdOverrides
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThresholdOverrides
impl<'de> Deserialize<'de> for ThresholdOverrides
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ThresholdOverrides
impl RefUnwindSafe for ThresholdOverrides
impl Send for ThresholdOverrides
impl Sync for ThresholdOverrides
impl Unpin for ThresholdOverrides
impl UnsafeUnpin for ThresholdOverrides
impl UnwindSafe for ThresholdOverrides
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