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§fn clone(&self) -> SingularQuery
fn clone(&self) -> SingularQuery
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
impl StructuralPartialEq for SingularQuery
Auto Trait Implementations§
impl Freeze for SingularQuery
impl RefUnwindSafe for SingularQuery
impl Send for SingularQuery
impl Sync for SingularQuery
impl Unpin 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