pub struct HomeostaticConfig {
pub thresholds: Vec<DimensionThreshold>,
pub execute_actions: bool,
pub max_history: usize,
pub use_anomaly_detector: bool,
}Expand description
Configuration for the HomeostaticLoop.
Fields§
§thresholds: Vec<DimensionThreshold>Thresholds per dimension.
execute_actions: boolWhether to actually execute corrective actions (false = dry run).
max_history: usizeMaximum actions to retain in history.
use_anomaly_detector: boolWhether to consider anomaly alerts in addition to thresholds.
Trait Implementations§
Source§impl Clone for HomeostaticConfig
impl Clone for HomeostaticConfig
Source§impl Debug for HomeostaticConfig
impl Debug for HomeostaticConfig
Source§impl Default for HomeostaticConfig
impl Default for HomeostaticConfig
Source§impl<'de> Deserialize<'de> for HomeostaticConfig
impl<'de> Deserialize<'de> for HomeostaticConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HomeostaticConfig
impl RefUnwindSafe for HomeostaticConfig
impl Send for HomeostaticConfig
impl Sync for HomeostaticConfig
impl Unpin for HomeostaticConfig
impl UnsafeUnpin for HomeostaticConfig
impl UnwindSafe for HomeostaticConfig
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