pub struct WafEvent {
pub rule_id: String,
pub target: String,
pub action: WafAction,
pub method: String,
pub path: String,
}Expand description
A rule match, as logged.
Fields§
§rule_id: StringId of the rule that matched.
target: StringThe inspected part, for example uri or header:user-agent.
action: WafActionWhat was done.
method: StringRequest method.
path: StringRequest target as received.
Implementations§
Trait Implementations§
impl Eq for WafEvent
impl StructuralPartialEq for WafEvent
Auto Trait Implementations§
impl Forget for WafEvent
impl Freeze for WafEvent
impl RefUnwindSafe for WafEvent
impl Send for WafEvent
impl Sync for WafEvent
impl Unpin for WafEvent
impl UnsafeUnpin for WafEvent
impl UnwindSafe for WafEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.