pub struct SecRule {
pub variables: Vec<VariableSpec>,
pub operator: OperatorSpec,
pub actions: Vec<Action>,
pub location: SourceLocation,
}Expand description
A SecRule directive.
Fields§
§variables: Vec<VariableSpec>Variables to inspect.
operator: OperatorSpecOperator to apply.
actions: Vec<Action>Actions to execute on match.
location: SourceLocationSource location for error reporting.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecRule
impl RefUnwindSafe for SecRule
impl Send for SecRule
impl Sync for SecRule
impl Unpin for SecRule
impl UnwindSafe for SecRule
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