pub struct SalienceConfig {
pub urgency_weight: f64,
pub novelty_weight: f64,
pub relevance_weight: f64,
pub threshold: f64,
}Expand description
Salience scoring weights for triage promotion decisions.
Fields§
§urgency_weight: f64Weight for urgency signals (0.0-1.0).
novelty_weight: f64Weight for novelty signals (0.0-1.0).
relevance_weight: f64Weight for relevance signals (0.0-1.0).
threshold: f64Minimum salience score for promotion (0.0-1.0).
Trait Implementations§
Source§impl Clone for SalienceConfig
impl Clone for SalienceConfig
Source§fn clone(&self) -> SalienceConfig
fn clone(&self) -> SalienceConfig
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 SalienceConfig
impl Debug for SalienceConfig
Source§impl<'de> Deserialize<'de> for SalienceConfig
impl<'de> Deserialize<'de> for SalienceConfig
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 SalienceConfig
impl RefUnwindSafe for SalienceConfig
impl Send for SalienceConfig
impl Sync for SalienceConfig
impl Unpin for SalienceConfig
impl UnsafeUnpin for SalienceConfig
impl UnwindSafe for SalienceConfig
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