pub struct DimensionScore {
pub value: f64,
pub confidence: f64,
pub method: ScoringMethod,
pub rationale: Option<String>,
}Expand description
Score result for a single dimension.
Fields§
§value: f64§confidence: f64Confidence that this score is correct (0.0–1.0). Scores below 0.5 confidence are flagged for human review.
method: ScoringMethod§rationale: Option<String>Trait Implementations§
Source§impl Clone for DimensionScore
impl Clone for DimensionScore
Source§fn clone(&self) -> DimensionScore
fn clone(&self) -> DimensionScore
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 DimensionScore
impl Debug for DimensionScore
Source§impl Default for DimensionScore
impl Default for DimensionScore
Source§impl<'de> Deserialize<'de> for DimensionScore
impl<'de> Deserialize<'de> for DimensionScore
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 DimensionScore
impl RefUnwindSafe for DimensionScore
impl Send for DimensionScore
impl Sync for DimensionScore
impl Unpin for DimensionScore
impl UnsafeUnpin for DimensionScore
impl UnwindSafe for DimensionScore
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