pub struct PatternRecord {
pub pattern_id: PatternId,
pub kind: PatternKind,
pub subject_id: Option<SubjectId>,
pub confidence: f32,
pub evidence_events: Vec<EventId>,
pub tag: u32,
}Expand description
Stored pattern record.
Fields§
§pattern_id: PatternIdPattern id.
kind: PatternKindKind.
subject_id: Option<SubjectId>Optional subject scope.
confidence: f32Confidence in 0.0..=1.0 (not clamped).
evidence_events: Vec<EventId>Supporting event ids.
tag: u32Free-form host tag.
Trait Implementations§
Source§impl Clone for PatternRecord
impl Clone for PatternRecord
Source§impl Debug for PatternRecord
impl Debug for PatternRecord
Source§impl PartialEq for PatternRecord
impl PartialEq for PatternRecord
impl StructuralPartialEq for PatternRecord
Auto Trait Implementations§
impl Freeze for PatternRecord
impl RefUnwindSafe for PatternRecord
impl Send for PatternRecord
impl Sync for PatternRecord
impl Unpin for PatternRecord
impl UnsafeUnpin for PatternRecord
impl UnwindSafe for PatternRecord
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