pub struct AnomalyConfig {
pub instruments: Vec<InstrumentId>,
pub sensitivity: f64,
pub window_size_ms: u64,
pub algorithms: Vec<AnomalyAlgorithm>,
}Expand description
Configuration for anomaly detection system
Specifies which instruments to monitor, sensitivity levels, and algorithms to use for detecting unusual patterns.
Fields§
§instruments: Vec<InstrumentId>List of instruments to monitor for anomalies
sensitivity: f64Detection sensitivity from 0.0 (low) to 1.0 (high)
window_size_ms: u64Time window for analysis in milliseconds
algorithms: Vec<AnomalyAlgorithm>List of detection algorithms to apply
Trait Implementations§
Source§impl Clone for AnomalyConfig
impl Clone for AnomalyConfig
Source§fn clone(&self) -> AnomalyConfig
fn clone(&self) -> AnomalyConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnomalyConfig
impl RefUnwindSafe for AnomalyConfig
impl Send for AnomalyConfig
impl Sync for AnomalyConfig
impl Unpin for AnomalyConfig
impl UnwindSafe for AnomalyConfig
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