pub struct HealthConfiguredThresholds {
pub max_cyclomatic: Option<u16>,
pub max_cognitive: Option<u16>,
pub max_crap: Option<f64>,
pub max_unit_size: Option<u32>,
}Expand description
Threshold values configured by a single override entry.
Fields§
§max_cyclomatic: Option<u16>Cyclomatic ceiling set by the override, when it sets one.
max_cognitive: Option<u16>Cognitive ceiling set by the override, when it sets one.
max_crap: Option<f64>CRAP ceiling set by the override, when it sets one.
max_unit_size: Option<u32>Unit-size ceiling set by the override, when it sets one.
Trait Implementations§
Source§impl Clone for HealthConfiguredThresholds
impl Clone for HealthConfiguredThresholds
impl Copy for HealthConfiguredThresholds
Source§impl Debug for HealthConfiguredThresholds
impl Debug for HealthConfiguredThresholds
Source§impl<'de> Deserialize<'de> for HealthConfiguredThresholds
impl<'de> Deserialize<'de> for HealthConfiguredThresholds
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 HealthConfiguredThresholds
impl RefUnwindSafe for HealthConfiguredThresholds
impl Send for HealthConfiguredThresholds
impl Sync for HealthConfiguredThresholds
impl Unpin for HealthConfiguredThresholds
impl UnsafeUnpin for HealthConfiguredThresholds
impl UnwindSafe for HealthConfiguredThresholds
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