pub struct ResponseConfig {
pub meta_learning_enabled: bool,
pub adaptive_responses_enabled: bool,
pub auto_mitigation_enabled: bool,
pub learning_rate: f64,
pub response_timeout: Duration,
}Expand description
Response layer configuration
Fields§
§meta_learning_enabled: bool§adaptive_responses_enabled: bool§auto_mitigation_enabled: bool§learning_rate: f64§response_timeout: DurationTrait Implementations§
Source§impl Clone for ResponseConfig
impl Clone for ResponseConfig
Source§fn clone(&self) -> ResponseConfig
fn clone(&self) -> ResponseConfig
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 ResponseConfig
impl Debug for ResponseConfig
Source§impl Default for ResponseConfig
impl Default for ResponseConfig
Source§impl<'de> Deserialize<'de> for ResponseConfig
impl<'de> Deserialize<'de> for ResponseConfig
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 ResponseConfig
impl RefUnwindSafe for ResponseConfig
impl Send for ResponseConfig
impl Sync for ResponseConfig
impl Unpin for ResponseConfig
impl UnwindSafe for ResponseConfig
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