pub struct OperatorSpec {
pub negated: bool,
pub name: OperatorName,
pub argument: String,
}Expand description
An operator specification in a SecRule.
Fields§
§negated: boolWhether the operator is negated (! prefix).
name: OperatorNameThe operator name.
argument: StringThe operator argument.
Trait Implementations§
Source§impl Clone for OperatorSpec
impl Clone for OperatorSpec
Source§fn clone(&self) -> OperatorSpec
fn clone(&self) -> OperatorSpec
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 moreAuto Trait Implementations§
impl Freeze for OperatorSpec
impl RefUnwindSafe for OperatorSpec
impl Send for OperatorSpec
impl Sync for OperatorSpec
impl Unpin for OperatorSpec
impl UnwindSafe for OperatorSpec
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