pub struct StrengthConfig {
pub transaction_volume_weight: f64,
pub transaction_count_weight: f64,
pub duration_weight: f64,
pub recency_weight: f64,
pub mutual_connections_weight: f64,
pub recency_half_life_days: u32,
}Expand description
Configuration for relationship strength calculation.
Fields§
§transaction_volume_weight: f64Transaction volume weight
transaction_count_weight: f64Transaction count weight
duration_weight: f64Duration weight
recency_weight: f64Recency weight
mutual_connections_weight: f64Mutual connections weight
recency_half_life_days: u32Recency half-life in days
Trait Implementations§
Source§impl Clone for StrengthConfig
impl Clone for StrengthConfig
Source§fn clone(&self) -> StrengthConfig
fn clone(&self) -> StrengthConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 StrengthConfig
impl Debug for StrengthConfig
Auto Trait Implementations§
impl Freeze for StrengthConfig
impl RefUnwindSafe for StrengthConfig
impl Send for StrengthConfig
impl Sync for StrengthConfig
impl Unpin for StrengthConfig
impl UnwindSafe for StrengthConfig
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