pub enum SgHttpQueryMatchPolicy {
Exact(String),
Regular(Regex),
}Variants§
Exact(String)
Matches the HTTP query parameter exactly and with case sensitivity.
Regular(Regex)
Matches if the Http query parameter matches the given regular expression with case sensitivity.
Trait Implementations§
Source§impl Clone for SgHttpQueryMatchPolicy
impl Clone for SgHttpQueryMatchPolicy
Source§fn clone(&self) -> SgHttpQueryMatchPolicy
fn clone(&self) -> SgHttpQueryMatchPolicy
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 SgHttpQueryMatchPolicy
impl RefUnwindSafe for SgHttpQueryMatchPolicy
impl Send for SgHttpQueryMatchPolicy
impl Sync for SgHttpQueryMatchPolicy
impl Unpin for SgHttpQueryMatchPolicy
impl UnwindSafe for SgHttpQueryMatchPolicy
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