pub struct PriorityWeights {
pub severity: f32,
pub confidence: f32,
pub recency: f32,
pub source_reliability: f32,
}Expand description
Weights for priority calculation
Fields§
§severity: f32Weight for severity (0-100)
confidence: f32Weight for signal confidence
recency: f32Weight for recency (recent events get higher priority)
source_reliability: f32Weight for source reliability
Trait Implementations§
Source§impl Clone for PriorityWeights
impl Clone for PriorityWeights
Source§fn clone(&self) -> PriorityWeights
fn clone(&self) -> PriorityWeights
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 PriorityWeights
impl Debug for PriorityWeights
Auto Trait Implementations§
impl Freeze for PriorityWeights
impl RefUnwindSafe for PriorityWeights
impl Send for PriorityWeights
impl Sync for PriorityWeights
impl Unpin for PriorityWeights
impl UnsafeUnpin for PriorityWeights
impl UnwindSafe for PriorityWeights
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