pub enum SingularQuery {
Current(Vec<SingularQuerySegment>),
Root(Vec<SingularQuerySegment>),
}Expand description
Enum representing different types of singular queries in a JSONPath query.
Variants§
Current(Vec<SingularQuerySegment>)
Represents a current node query.
Root(Vec<SingularQuerySegment>)
Represents a root node query.
Trait Implementations§
Source§impl Clone for SingularQuery
impl Clone for SingularQuery
Source§impl Debug for SingularQuery
impl Debug for SingularQuery
Source§impl Display for SingularQuery
impl Display for SingularQuery
Source§impl PartialEq for SingularQuery
impl PartialEq for SingularQuery
Source§impl Query for SingularQuery
impl Query for SingularQuery
Source§fn process_with_context<'a, T: Queryable>(
&self,
step: State<'a, T>,
ctx: &mut JsonPathEvalContext,
) -> State<'a, T>
fn process_with_context<'a, T: Queryable>( &self, step: State<'a, T>, ctx: &mut JsonPathEvalContext, ) -> State<'a, T>
Processes the state, reusing what
ctx keeps.impl StructuralPartialEq for SingularQuery
Auto Trait Implementations§
impl Forget for SingularQuery
impl Freeze for SingularQuery
impl Move for SingularQuery
impl RefUnwindSafe for SingularQuery
impl Send for SingularQuery
impl Sync for SingularQuery
impl Unpin for SingularQuery
impl UnsafeUnpin for SingularQuery
impl UnwindSafe for SingularQuery
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