pub enum SgHttpQueryMatch {
Exact {
key: String,
value: String,
},
Regular {
key: String,
re: String,
},
}Variants§
Exact
Matches the HTTP query parameter exactly and with case sensitivity.
Regular
Matches if the Http query parameter matches the given regular expression with case sensitivity.
Trait Implementations§
Source§impl Clone for SgHttpQueryMatch
impl Clone for SgHttpQueryMatch
Source§fn clone(&self) -> SgHttpQueryMatch
fn clone(&self) -> SgHttpQueryMatch
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 moreSource§impl Debug for SgHttpQueryMatch
impl Debug for SgHttpQueryMatch
Source§impl<'de> Deserialize<'de> for SgHttpQueryMatch
impl<'de> Deserialize<'de> for SgHttpQueryMatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SgHttpQueryMatch
impl RefUnwindSafe for SgHttpQueryMatch
impl Send for SgHttpQueryMatch
impl Sync for SgHttpQueryMatch
impl Unpin for SgHttpQueryMatch
impl UnwindSafe for SgHttpQueryMatch
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