pub struct CorrelationDraftConfig {
pub min_groups: usize,
pub min_slots: usize,
pub similarity: f64,
pub window_margin: f64,
pub correlation_type: CorrelationDraftType,
pub group_by: Vec<String>,
pub title: Option<String>,
pub correlation_id: Option<String>,
pub slot_ids: Vec<String>,
pub detection: DraftConfig,
}Expand description
Tunables and caller-supplied metadata for correlation drafting.
Fields§
§min_groups: usizeMinimum number of positive groups.
min_slots: usizeMinimum number of recurring slots.
similarity: f64Key-shape Jaccard threshold.
window_margin: f64Multiplier applied to the maximum observed positive span.
correlation_type: CorrelationDraftTypeOrdering mode.
group_by: Vec<String>Explicit grouping fields. Empty means infer one field.
title: Option<String>Correlation title override.
correlation_id: Option<String>Caller-supplied correlation id.
slot_ids: Vec<String>Caller-supplied slot ids, in inferred slot order.
detection: DraftConfigShared per-slot detection drafting configuration.
Trait Implementations§
Source§impl Clone for CorrelationDraftConfig
impl Clone for CorrelationDraftConfig
Source§fn clone(&self) -> CorrelationDraftConfig
fn clone(&self) -> CorrelationDraftConfig
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 CorrelationDraftConfig
impl Debug for CorrelationDraftConfig
Auto Trait Implementations§
impl Freeze for CorrelationDraftConfig
impl RefUnwindSafe for CorrelationDraftConfig
impl Send for CorrelationDraftConfig
impl Sync for CorrelationDraftConfig
impl Unpin for CorrelationDraftConfig
impl UnsafeUnpin for CorrelationDraftConfig
impl UnwindSafe for CorrelationDraftConfig
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