pub struct QueryPredicateConfig {
pub params: HashMap<String, String>,
pub exact_match: bool,
}
Expand description
Configuration for a query parameter predicate.
Fields§
§params: HashMap<String, String>
The query parameters to match (name and value)
exact_match: bool
Whether to require exact match for parameter values
Trait Implementations§
Source§impl Clone for QueryPredicateConfig
impl Clone for QueryPredicateConfig
Source§fn clone(&self) -> QueryPredicateConfig
fn clone(&self) -> QueryPredicateConfig
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 QueryPredicateConfig
impl Debug for QueryPredicateConfig
Source§impl<'de> Deserialize<'de> for QueryPredicateConfig
impl<'de> Deserialize<'de> for QueryPredicateConfig
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 QueryPredicateConfig
impl RefUnwindSafe for QueryPredicateConfig
impl Send for QueryPredicateConfig
impl Sync for QueryPredicateConfig
impl Unpin for QueryPredicateConfig
impl UnwindSafe for QueryPredicateConfig
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