pub struct ScorerResult {
pub scorer: String,
pub score: f64,
pub passed: bool,
pub details: Vec<String>,
}Expand description
Result from a single scorer.
Fields§
§scorer: StringScorer name.
score: f64Score value (0.0 to 1.0).
passed: boolWhether this scorer passed.
details: Vec<String>Human-readable details.
Trait Implementations§
Source§impl Clone for ScorerResult
impl Clone for ScorerResult
Source§fn clone(&self) -> ScorerResult
fn clone(&self) -> ScorerResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScorerResult
impl Debug for ScorerResult
Source§impl<'de> Deserialize<'de> for ScorerResult
impl<'de> Deserialize<'de> for ScorerResult
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 ScorerResult
impl RefUnwindSafe for ScorerResult
impl Send for ScorerResult
impl Sync for ScorerResult
impl Unpin for ScorerResult
impl UnsafeUnpin for ScorerResult
impl UnwindSafe for ScorerResult
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