pub enum FilterAtom {
Filter {
expr: Box<Filter>,
not: bool,
},
Test {
expr: Box<Test>,
not: bool,
},
Comparison(Box<Comparison>),
}
Expand description
Enum representing different types of atomic filters in a JSONPath query.
Variants§
Filter
Represents a nested filter with an optional NOT flag.
Test
Represents a test filter with an optional NOT flag.
Comparison(Box<Comparison>)
Represents a comparison filter.
Implementations§
Trait Implementations§
Source§impl Clone for FilterAtom
impl Clone for FilterAtom
Source§fn clone(&self) -> FilterAtom
fn clone(&self) -> FilterAtom
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 FilterAtom
impl Debug for FilterAtom
Source§impl Display for FilterAtom
impl Display for FilterAtom
Source§impl PartialEq for FilterAtom
impl PartialEq for FilterAtom
Source§impl Query for FilterAtom
impl Query for FilterAtom
impl StructuralPartialEq for FilterAtom
Auto Trait Implementations§
impl Freeze for FilterAtom
impl RefUnwindSafe for FilterAtom
impl Send for FilterAtom
impl Sync for FilterAtom
impl Unpin for FilterAtom
impl UnwindSafe for FilterAtom
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