pub struct JsonPath {
pub path: Vec<JsonPathElem>,
}
Expand description
Sequence of path elements that form the JSON path.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
This method returns an ordering between self and other values if one exists. Read more
Tests less than (for self and other) and is used by the < operator. Read more
Tests less than or equal to (for self and other) and is used by the
<= operator. Read more
Tests greater than (for self and other) and is used by the >
operator. Read more
Tests greater than or equal to (for self and other) and is used by
the >= operator. Read more
Source§§partial span
see Spanned impl for JsonPathElem for more information
Return the Span (the minimum and maximum Location) for this AST
node, by recursively combining the spans of its children.