pub struct ScoreResult {
pub trust_score: f64,
pub confidence: f64,
pub factors: ConfidenceFactors,
}Expand description
The full result of scoring one candidate.
Fields§
§trust_score: f64Content trust in [0, 1].
confidence: f64Blended confidence in [0, 1].
factors: ConfidenceFactorsPer-factor breakdown.
Trait Implementations§
Source§impl Clone for ScoreResult
impl Clone for ScoreResult
Source§fn clone(&self) -> ScoreResult
fn clone(&self) -> ScoreResult
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 ScoreResult
impl Debug for ScoreResult
Source§impl PartialEq for ScoreResult
impl PartialEq for ScoreResult
Source§fn eq(&self, other: &ScoreResult) -> bool
fn eq(&self, other: &ScoreResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScoreResult
Auto Trait Implementations§
impl Freeze for ScoreResult
impl RefUnwindSafe for ScoreResult
impl Send for ScoreResult
impl Sync for ScoreResult
impl Unpin for ScoreResult
impl UnsafeUnpin for ScoreResult
impl UnwindSafe for ScoreResult
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