pub struct ParameterPath { /* private fields */ }Expand description
One non-empty JSON object path represented as unescaped key segments.
Implementations§
Source§impl ParameterPath
impl ParameterPath
pub fn segments(&self) -> impl ExactSizeIterator<Item = &str>
pub fn is_ancestor_of(&self, other: &Self) -> bool
Sourcepub fn identifier(&self) -> &str
pub fn identifier(&self) -> &str
Stable external JSON Pointer identifier.
pub fn to_json_pointer(&self) -> String
Trait Implementations§
Source§impl Clone for ParameterPath
impl Clone for ParameterPath
Source§fn clone(&self) -> ParameterPath
fn clone(&self) -> ParameterPath
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 ParameterPath
impl Debug for ParameterPath
Source§impl Display for ParameterPath
impl Display for ParameterPath
impl Eq for ParameterPath
Source§impl Hash for ParameterPath
impl Hash for ParameterPath
Source§impl Ord for ParameterPath
impl Ord for ParameterPath
Source§fn cmp(&self, other: &ParameterPath) -> Ordering
fn cmp(&self, other: &ParameterPath) -> 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 ParameterPath
impl PartialEq for ParameterPath
Source§impl PartialOrd for ParameterPath
impl PartialOrd for ParameterPath
impl StructuralPartialEq for ParameterPath
Auto Trait Implementations§
impl Freeze for ParameterPath
impl RefUnwindSafe for ParameterPath
impl Send for ParameterPath
impl Sync for ParameterPath
impl Unpin for ParameterPath
impl UnsafeUnpin for ParameterPath
impl UnwindSafe for ParameterPath
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.