pub struct PredicateGroupBuilder { /* private fields */ }Expand description
Collects the predicates of one bracket. Everything added inside it combines by the bracket’s
own operator; nesting is unlimited. Mirrors the TS QueryGroupBuilder.
Implementations§
Source§impl PredicateGroupBuilder
impl PredicateGroupBuilder
pub fn where( &mut self, field: impl Into<String>, op: ComparisonOp, value: Value, ) -> &mut Self
pub fn where_any( &mut self, build: impl FnOnce(&mut PredicateGroupBuilder), ) -> &mut Self
pub fn where_all( &mut self, build: impl FnOnce(&mut PredicateGroupBuilder), ) -> &mut Self
Auto Trait Implementations§
impl Freeze for PredicateGroupBuilder
impl RefUnwindSafe for PredicateGroupBuilder
impl Send for PredicateGroupBuilder
impl Sync for PredicateGroupBuilder
impl Unpin for PredicateGroupBuilder
impl UnsafeUnpin for PredicateGroupBuilder
impl UnwindSafe for PredicateGroupBuilder
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