pub enum FilterNode<F: FilterField> {
Binary {
field: F,
op: FilterOp,
value: ODataValue,
},
Composite {
op: FilterOp,
children: Vec<FilterNode<F>>,
},
Not(Box<FilterNode<F>>),
}Variants§
Implementations§
Source§impl<F: FilterField> FilterNode<F>
impl<F: FilterField> FilterNode<F>
pub fn binary(field: F, op: FilterOp, value: ODataValue) -> Self
pub fn and(children: Vec<FilterNode<F>>) -> Self
pub fn or(children: Vec<FilterNode<F>>) -> Self
pub fn not(inner: FilterNode<F>) -> Self
Trait Implementations§
Source§impl<F: Clone + FilterField> Clone for FilterNode<F>
impl<F: Clone + FilterField> Clone for FilterNode<F>
Source§fn clone(&self) -> FilterNode<F>
fn clone(&self) -> FilterNode<F>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<F> Freeze for FilterNode<F>where
F: Freeze,
impl<F> RefUnwindSafe for FilterNode<F>where
F: RefUnwindSafe,
impl<F> Send for FilterNode<F>where
F: Send,
impl<F> Sync for FilterNode<F>where
F: Sync,
impl<F> Unpin for FilterNode<F>where
F: Unpin,
impl<F> UnsafeUnpin for FilterNode<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FilterNode<F>where
F: UnwindSafe,
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