pub struct JsonPathQuery { /* private fields */ }
Expand description

JSONPath query structure represented by the root link of the JsonPathQueryNode list.

Implementations§

Retrieve reference to the root node.

It is guaranteed that the root is the JsonPathQueryNode::Root variant and always exists.

Parse a query string into a JsonPathQuery.

Errors

Will return a QueryError if the query_string does not conform to the JSONPath grammar. See its documentation for details.

Create a query from a root node.

If node is not the JsonPathQueryNode::Root variant it will be automatically wrapped into a JsonPathQueryNode::Root node.

Trait Implementations§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.