pub enum Test {
RelQuery(Vec<Segment>),
AbsQuery(JpQuery),
Function(Box<TestFunction>),
}
Expand description
Enum representing different types of tests in a JSONPath query.
Variants§
RelQuery(Vec<Segment>)
Represents a relative query.
AbsQuery(JpQuery)
Represents an absolute query.
Function(Box<TestFunction>)
Represents a function test.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Test
Auto Trait Implementations§
impl Freeze for Test
impl RefUnwindSafe for Test
impl Send for Test
impl Sync for Test
impl Unpin for Test
impl UnwindSafe for Test
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