[][src]Struct json_keypath_iter::Element

pub struct Element<'a> {
    pub path: String,
    pub indices: Vec<usize>,
    pub value: &'a Value,
}

Single element struct containing the path, set of array indices, and json value

Fields

path: String

The full path from the base of a json structure to the value contained in the Element

indices: Vec<usize>

The full set of array indices in the path, useful for grouping sets of Element structs to the same array element

value: &'a Value

The serde_json::Value of described by the path

Trait Implementations

impl<'a> Debug for Element<'a>[src]

impl<'a> PartialEq<Element<'a>> for Element<'a>[src]

impl<'a> StructuralPartialEq for Element<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Element<'a>

impl<'a> Send for Element<'a>

impl<'a> Sync for Element<'a>

impl<'a> Unpin for Element<'a>

impl<'a> UnwindSafe for Element<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.