pub enum JsonpathMatch {
Key(MatchKey),
Val(MatchVal),
}Variants§
Implementations§
Source§impl JsonpathMatch
impl JsonpathMatch
pub fn jsonpath(&self) -> &Jsonpath
pub fn take_jsonpath(self) -> Jsonpath
Trait Implementations§
Source§impl Clone for JsonpathMatch
impl Clone for JsonpathMatch
Source§fn clone(&self) -> JsonpathMatch
fn clone(&self) -> JsonpathMatch
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 JsonpathMatch
impl Debug for JsonpathMatch
Source§impl From<&str> for JsonpathMatch
impl From<&str> for JsonpathMatch
Source§impl From<String> for JsonpathMatch
impl From<String> for JsonpathMatch
Source§impl Hash for JsonpathMatch
impl Hash for JsonpathMatch
Source§impl Ord for JsonpathMatch
impl Ord for JsonpathMatch
Source§fn cmp(&self, other: &JsonpathMatch) -> Ordering
fn cmp(&self, other: &JsonpathMatch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JsonpathMatch
impl PartialEq for JsonpathMatch
Source§impl PartialOrd for JsonpathMatch
impl PartialOrd for JsonpathMatch
Source§impl Serialize for JsonpathMatch
impl Serialize for JsonpathMatch
impl Eq for JsonpathMatch
impl StructuralPartialEq for JsonpathMatch
Auto Trait Implementations§
impl Freeze for JsonpathMatch
impl RefUnwindSafe for JsonpathMatch
impl Send for JsonpathMatch
impl Sync for JsonpathMatch
impl Unpin for JsonpathMatch
impl UnwindSafe for JsonpathMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more