pub struct Query { /* private fields */ }Expand description
A query into some YAML document.
Internally, a query is one or more “component” selectors, each of which is either a mapping key or list index to descend through.
For example, with the following YAML document:
foo:
bar:
baz:
- [a, b, c]
- [d, e, f]
The sub-list member e would be identified via the path
foo, bar, baz, 1, 1.
Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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