pub struct ResponseRule {
pub severity: Severity,
pub conditions: Vec<ResponseCondition>,
pub action: ActionType,
}Expand description
Response rule with conditional execution.
Fields§
§severity: SeveritySeverity level that triggers this rule
conditions: Vec<ResponseCondition>Conditions that must ALL be satisfied (AND logic)
action: ActionTypeAction to execute
Trait Implementations§
Source§impl Debug for ResponseRule
impl Debug for ResponseRule
Source§impl<'de> Deserialize<'de> for ResponseRule
impl<'de> Deserialize<'de> for ResponseRule
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 ResponseRule
impl RefUnwindSafe for ResponseRule
impl Send for ResponseRule
impl Sync for ResponseRule
impl Unpin for ResponseRule
impl UnsafeUnpin for ResponseRule
impl UnwindSafe for ResponseRule
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