Struct filter_ast::Clause [−][src]
pub struct Clause<F, P, O> { /* fields omitted */ }
Expand description
A leaf node in a filter expression. This compares an individual field’s value to a specific operand using some operation.
Implementations
Create a new clause whose fields all reference self
.
Trait Implementations
Invert the filter expression by wrapping the clause in a tree with Not
as its operator.
impl<F: PartialOrd, P: PartialOrd, O: PartialOrd> PartialOrd<Clause<F, P, O>> for Clause<F, P, O>
impl<F: PartialOrd, P: PartialOrd, O: PartialOrd> PartialOrd<Clause<F, P, O>> for Clause<F, P, O>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<F, P, O> RefUnwindSafe for Clause<F, P, O> where
F: RefUnwindSafe,
O: RefUnwindSafe,
P: RefUnwindSafe,
impl<F, P, O> UnwindSafe for Clause<F, P, O> where
F: UnwindSafe,
O: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more