pub struct ScoreThresholds {
pub pass: f64,
pub warn: f64,
}Expand description
Thresholds for the overall score.
Fields§
§pass: f64Score at or above this value is “pass” (0.0 - 1.0).
warn: f64Score at or above this value but below pass is “warn”.
Trait Implementations§
Source§impl Clone for ScoreThresholds
impl Clone for ScoreThresholds
Source§fn clone(&self) -> ScoreThresholds
fn clone(&self) -> ScoreThresholds
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 ScoreThresholds
impl Debug for ScoreThresholds
Source§impl Default for ScoreThresholds
impl Default for ScoreThresholds
Source§impl<'de> Deserialize<'de> for ScoreThresholds
impl<'de> Deserialize<'de> for ScoreThresholds
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