pub struct Check {
pub rule: String,
pub name: String,
pub action: i64,
pub kind: String,
pub enabled: bool,
pub on: Option<String>,
pub related: Option<bool>,
pub conditions: Vec<CondCheck>,
pub matched: bool,
}Expand description
How a rule fares against one event (a dry run).
Fields§
§rule: String§name: String§action: i64§kind: String§enabled: bool§on: Option<String>The on pattern that matched.
None when the rule is not related.
conditions: Vec<CondCheck>§matched: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for Check
impl Freeze for Check
impl Move for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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