pub struct WeightedContributions {
pub relevance_contribution: f64,
pub importance_contribution: f64,
pub temporal_contribution: f64,
}Expand description
The three weighted components that make up the final score.
Fields§
§relevance_contribution: f64§importance_contribution: f64§temporal_contribution: f64Trait Implementations§
Source§impl Clone for WeightedContributions
impl Clone for WeightedContributions
Source§fn clone(&self) -> WeightedContributions
fn clone(&self) -> WeightedContributions
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 WeightedContributions
impl Debug for WeightedContributions
Source§impl<'de> Deserialize<'de> for WeightedContributions
impl<'de> Deserialize<'de> for WeightedContributions
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 WeightedContributions
impl RefUnwindSafe for WeightedContributions
impl Send for WeightedContributions
impl Sync for WeightedContributions
impl Unpin for WeightedContributions
impl UnsafeUnpin for WeightedContributions
impl UnwindSafe for WeightedContributions
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