pub struct BehavioralProfileConfig {
pub ema_alpha: f64,
pub sigma_threshold: f64,
pub window_secs: u64,
pub baseline_min_windows: u64,
}Expand description
Configuration surface for BehavioralProfileGuard.
Fields§
§ema_alpha: f64EMA smoothing factor.
sigma_threshold: f64Sigma threshold above which a window is flagged.
window_secs: u64Rolling window length in seconds.
baseline_min_windows: u64Minimum number of windows required before anomalies can be flagged. Protects the guard from firing on a cold baseline.
Trait Implementations§
Source§impl Clone for BehavioralProfileConfig
impl Clone for BehavioralProfileConfig
Source§fn clone(&self) -> BehavioralProfileConfig
fn clone(&self) -> BehavioralProfileConfig
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 BehavioralProfileConfig
impl Debug for BehavioralProfileConfig
Source§impl Default for BehavioralProfileConfig
impl Default for BehavioralProfileConfig
impl Copy for BehavioralProfileConfig
Auto Trait Implementations§
impl Freeze for BehavioralProfileConfig
impl RefUnwindSafe for BehavioralProfileConfig
impl Send for BehavioralProfileConfig
impl Sync for BehavioralProfileConfig
impl Unpin for BehavioralProfileConfig
impl UnsafeUnpin for BehavioralProfileConfig
impl UnwindSafe for BehavioralProfileConfig
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