pub enum JsonPointerItem<P: Property> {
Root,
Wildcard,
Key(Key<'static, P>),
Number(u64),
}
Variants§
Implementations§
Trait Implementations§
Source§impl<P: Clone + Property> Clone for JsonPointerItem<P>
impl<P: Clone + Property> Clone for JsonPointerItem<P>
Source§fn clone(&self) -> JsonPointerItem<P>
fn clone(&self) -> JsonPointerItem<P>
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<P: Ord + Property> Ord for JsonPointerItem<P>
impl<P: Ord + Property> Ord for JsonPointerItem<P>
Source§fn cmp(&self, other: &JsonPointerItem<P>) -> Ordering
fn cmp(&self, other: &JsonPointerItem<P>) -> 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<P: PartialOrd + Property> PartialOrd for JsonPointerItem<P>
impl<P: PartialOrd + Property> PartialOrd for JsonPointerItem<P>
impl<P: Eq + Property> Eq for JsonPointerItem<P>
impl<P: Property> StructuralPartialEq for JsonPointerItem<P>
Auto Trait Implementations§
impl<P> Freeze for JsonPointerItem<P>where
P: Freeze,
impl<P> RefUnwindSafe for JsonPointerItem<P>where
P: RefUnwindSafe,
impl<P> Send for JsonPointerItem<P>where
P: Send,
impl<P> Sync for JsonPointerItem<P>where
P: Sync,
impl<P> Unpin for JsonPointerItem<P>where
P: Unpin,
impl<P> UnwindSafe for JsonPointerItem<P>where
P: UnwindSafe,
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