pub enum Operation {
Eq(String, String),
Exist(String),
In(String, Vec<String>),
}Expand description
Variants§
Eq(String, String)
Match if the parameter equals the value. Format: (name, expected_value).
Exist(String)
Match if the parameter exists (regardless of value).
In(String, Vec<String>)
Match if the parameter value is one of these values. Format: (name, allowed_values).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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