pub struct QualityScoreWeights {
pub completeness: f64,
pub consistency: f64,
pub uniqueness: f64,
pub accuracy: f64,
pub timeliness: f64,
pub validity: f64,
pub precision: f64,
}Expand description
Relative weights used to aggregate assessed quality dimensions.
Weights do not need to sum to one: the score renormalizes them over the dimensions that were actually assessed. Values should be non-negative and at least one weight must be positive.
Fields§
§completeness: f64§consistency: f64§uniqueness: f64§accuracy: f64§timeliness: f64§validity: f64§precision: f64Implementations§
Trait Implementations§
Source§impl Clone for QualityScoreWeights
impl Clone for QualityScoreWeights
Source§fn clone(&self) -> QualityScoreWeights
fn clone(&self) -> QualityScoreWeights
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 moreimpl Copy for QualityScoreWeights
Source§impl Debug for QualityScoreWeights
impl Debug for QualityScoreWeights
Source§impl Default for QualityScoreWeights
impl Default for QualityScoreWeights
Source§impl<'de> Deserialize<'de> for QualityScoreWeightswhere
QualityScoreWeights: Default,
impl<'de> Deserialize<'de> for QualityScoreWeightswhere
QualityScoreWeights: Default,
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
Source§impl PartialEq for QualityScoreWeights
impl PartialEq for QualityScoreWeights
Source§impl Serialize for QualityScoreWeights
impl Serialize for QualityScoreWeights
impl StructuralPartialEq for QualityScoreWeights
Auto Trait Implementations§
impl Freeze for QualityScoreWeights
impl RefUnwindSafe for QualityScoreWeights
impl Send for QualityScoreWeights
impl Sync for QualityScoreWeights
impl Unpin for QualityScoreWeights
impl UnsafeUnpin for QualityScoreWeights
impl UnwindSafe for QualityScoreWeights
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