pub enum JsonPathSegment {
Key(String),
Index(u32),
}Expand description
One step of a JSON path: an object key or an array index.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for JsonPathSegment
impl Clone for JsonPathSegment
Source§impl Debug for JsonPathSegment
impl Debug for JsonPathSegment
impl Eq for JsonPathSegment
Source§impl Hash for JsonPathSegment
impl Hash for JsonPathSegment
Source§impl PartialEq for JsonPathSegment
impl PartialEq for JsonPathSegment
impl StructuralPartialEq for JsonPathSegment
Auto Trait Implementations§
impl Forget for JsonPathSegment
impl Freeze for JsonPathSegment
impl Move for JsonPathSegment
impl RefUnwindSafe for JsonPathSegment
impl Send for JsonPathSegment
impl Sync for JsonPathSegment
impl Unpin for JsonPathSegment
impl UnsafeUnpin for JsonPathSegment
impl UnwindSafe for JsonPathSegment
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