Enum jlens::JsonPath
[−]
[src]
pub enum JsonPath<'a: 'b, 'b> { Root(&'a Json), Descendant(&'a Json, &'b JsonPath<'a, 'b>), }
JSON node path
Represents a path to a JSON node.
Variants
Root(&'a Json)
At the root node
Descendant(&'a Json, &'b JsonPath<'a, 'b>)
At a node with the given parent path
Trait Implementations
impl<'a: 'b, 'b> Clone for JsonPath<'a, 'b>
[src]
fn clone(&self) -> JsonPath<'a, 'b>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more