pub struct Location(/* private fields */);Expand description
A cheap to clone JSON pointer that represents location with a JSON value.
Implementations§
Trait Implementations§
Source§impl<'a> From<&'a JsonPointerNode<'_, '_>> for Location
impl<'a> From<&'a JsonPointerNode<'_, '_>> for Location
Source§fn from(value: &'a LazyLocation<'_, '_>) -> Self
fn from(value: &'a LazyLocation<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl<'a> FromIterator<LocationSegment<'a>> for Location
impl<'a> FromIterator<LocationSegment<'a>> for Location
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = LocationSegment<'a>>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = LocationSegment<'a>>,
Creates a value from an iterator. Read more
Source§impl<'a> IntoIterator for &'a Location
impl<'a> IntoIterator for &'a Location
Source§impl Ord for Location
impl Ord for Location
Source§impl PartialOrd for Location
impl PartialOrd for Location
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.