pub struct SubDimensionScore {
pub score: f64,
pub weight: f64,
pub observation_count: u64,
pub parent: TrustDimension,
}Expand description
Score data for a sub-dimension
Fields§
§score: f64Current score (0.0 to 1.0)
weight: f64Confidence weight
observation_count: u64Number of observations
parent: TrustDimensionWhich root dimension this is under
Trait Implementations§
Source§impl Clone for SubDimensionScore
impl Clone for SubDimensionScore
Source§impl Debug for SubDimensionScore
impl Debug for SubDimensionScore
Source§impl<'de> Deserialize<'de> for SubDimensionScore
impl<'de> Deserialize<'de> for SubDimensionScore
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 SubDimensionScore
impl RefUnwindSafe for SubDimensionScore
impl Send for SubDimensionScore
impl Sync for SubDimensionScore
impl Unpin for SubDimensionScore
impl UnsafeUnpin for SubDimensionScore
impl UnwindSafe for SubDimensionScore
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