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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BehavioralProfileConfig
Source§impl Debug for BehavioralProfileConfig
impl Debug 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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more