pub enum PredicateSelector {
XPath {
selector: String,
namespaces: Option<HashMap<String, String>>,
},
JsonPath {
selector: String,
},
}Expand description
A structured selector applied to the request body before matching.
Variants§
Trait Implementations§
Source§impl Clone for PredicateSelector
impl Clone for PredicateSelector
Source§fn clone(&self) -> PredicateSelector
fn clone(&self) -> PredicateSelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PredicateSelector
impl Debug for PredicateSelector
Source§impl<'de> Deserialize<'de> for PredicateSelector
impl<'de> Deserialize<'de> for PredicateSelector
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
Source§impl PartialEq for PredicateSelector
impl PartialEq for PredicateSelector
Source§impl Serialize for PredicateSelector
impl Serialize for PredicateSelector
impl StructuralPartialEq for PredicateSelector
Auto Trait Implementations§
impl Freeze for PredicateSelector
impl RefUnwindSafe for PredicateSelector
impl Send for PredicateSelector
impl Sync for PredicateSelector
impl Unpin for PredicateSelector
impl UnsafeUnpin for PredicateSelector
impl UnwindSafe for PredicateSelector
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