pub enum Comparable {
Literal(Literal),
Function(TestFunction),
SingularQuery(SingularQuery),
}
Expand description
Enum representing different types of comparable values in a JSONPath query.
Variants§
Literal(Literal)
Represents a literal value.
Function(TestFunction)
Represents a function.
SingularQuery(SingularQuery)
Represents a singular query.
Trait Implementations§
Source§impl Clone for Comparable
impl Clone for Comparable
Source§fn clone(&self) -> Comparable
fn clone(&self) -> Comparable
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 Comparable
impl Debug for Comparable
Source§impl Display for Comparable
impl Display for Comparable
Source§impl PartialEq for Comparable
impl PartialEq for Comparable
Source§impl Query for Comparable
impl Query for Comparable
impl StructuralPartialEq for Comparable
Auto Trait Implementations§
impl Freeze for Comparable
impl RefUnwindSafe for Comparable
impl Send for Comparable
impl Sync for Comparable
impl Unpin for Comparable
impl UnwindSafe for Comparable
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