pub struct ScoreThresholds {
pub warn_threshold_per_100w: u32,
pub fail_threshold_per_100w: u32,
}Expand description
Thresholds for warnings / failures expressed as flags per 100 words.
Fields§
§warn_threshold_per_100w: u32§fail_threshold_per_100w: u32Trait Implementations§
Source§impl Clone for ScoreThresholds
impl Clone for ScoreThresholds
Source§impl Debug for ScoreThresholds
impl Debug for ScoreThresholds
Source§impl Default for ScoreThresholds
impl Default for ScoreThresholds
Source§impl<'de> Deserialize<'de> for ScoreThresholdswhere
ScoreThresholds: Default,
impl<'de> Deserialize<'de> for ScoreThresholdswhere
ScoreThresholds: Default,
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 ScoreThresholds
impl RefUnwindSafe for ScoreThresholds
impl Send for ScoreThresholds
impl Sync for ScoreThresholds
impl Unpin for ScoreThresholds
impl UnsafeUnpin for ScoreThresholds
impl UnwindSafe for ScoreThresholds
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