pub struct JsonPathPattern { /* private fields */ }Expand description
Validated RFC 6901 JSON Pointer pattern.
An empty string addresses the document root. A segment equal to * is a
deterministic wildcard extension used primarily for array members. Other
segments use standard ~0 and ~1 escaping. A selected pattern names a
subtree; an ignored pattern removes a subtree; and an unordered-array
pattern must match the array path itself.
Implementations§
Trait Implementations§
Source§impl Clone for JsonPathPattern
impl Clone for JsonPathPattern
Source§fn clone(&self) -> JsonPathPattern
fn clone(&self) -> JsonPathPattern
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 JsonPathPattern
impl Debug for JsonPathPattern
Source§impl<'de> Deserialize<'de> for JsonPathPattern
impl<'de> Deserialize<'de> for JsonPathPattern
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
impl Eq for JsonPathPattern
Source§impl Hash for JsonPathPattern
impl Hash for JsonPathPattern
Source§impl Ord for JsonPathPattern
impl Ord for JsonPathPattern
Source§fn cmp(&self, other: &JsonPathPattern) -> Ordering
fn cmp(&self, other: &JsonPathPattern) -> Ordering
1.21.0 (const: unstable) · 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 JsonPathPattern
impl PartialEq for JsonPathPattern
Source§impl PartialOrd for JsonPathPattern
impl PartialOrd for JsonPathPattern
Source§impl Serialize for JsonPathPattern
impl Serialize for JsonPathPattern
impl StructuralPartialEq for JsonPathPattern
Auto Trait Implementations§
impl Freeze for JsonPathPattern
impl RefUnwindSafe for JsonPathPattern
impl Send for JsonPathPattern
impl Sync for JsonPathPattern
impl Unpin for JsonPathPattern
impl UnsafeUnpin for JsonPathPattern
impl UnwindSafe for JsonPathPattern
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more