pub struct PatternParams {
pub event_types: Vec<EventType>,
pub min_confidence: Option<f32>,
pub max_confidence: Option<f32>,
pub session_ids: Vec<u32>,
pub created_after: Option<u64>,
pub created_before: Option<u64>,
pub min_decay_score: Option<f32>,
pub max_results: usize,
pub sort_by: PatternSort,
}Expand description
Parameters for a pattern query.
Fields§
§event_types: Vec<EventType>Filter by event type(s). Empty = all types.
min_confidence: Option<f32>Minimum confidence (inclusive).
max_confidence: Option<f32>Maximum confidence (inclusive).
session_ids: Vec<u32>Filter by session ID(s). Empty = all sessions.
created_after: Option<u64>Filter by creation time: after this timestamp.
created_before: Option<u64>Filter by creation time: before this timestamp.
min_decay_score: Option<f32>Filter by minimum decay score.
max_results: usizeMaximum number of results.
sort_by: PatternSortSort order.
Auto Trait Implementations§
impl Freeze for PatternParams
impl RefUnwindSafe for PatternParams
impl Send for PatternParams
impl Sync for PatternParams
impl Unpin for PatternParams
impl UnsafeUnpin for PatternParams
impl UnwindSafe for PatternParams
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