pub struct SearchPredicate { /* private fields */ }Implementations§
Source§impl SearchPredicate
impl SearchPredicate
pub fn eq(field: impl Into<String>, value: impl Into<String>) -> Self
pub fn in_list( field: impl Into<String>, values: impl IntoIterator<Item = String>, ) -> Self
pub fn not_in_list( field: impl Into<String>, values: impl IntoIterator<Item = String>, ) -> Self
pub fn gt(field: impl Into<String>, value: impl Into<String>) -> Self
pub fn gte(field: impl Into<String>, value: impl Into<String>) -> Self
pub fn lt(field: impl Into<String>, value: impl Into<String>) -> Self
pub fn lte(field: impl Into<String>, value: impl Into<String>) -> Self
pub fn exists(field: impl Into<String>) -> Self
pub fn is_missing(field: impl Into<String>) -> Self
pub fn field(&self) -> &SearchFieldRef
pub fn op(&self) -> &SearchPredicateOp
Trait Implementations§
Source§impl Clone for SearchPredicate
impl Clone for SearchPredicate
Source§impl Debug for SearchPredicate
impl Debug for SearchPredicate
impl Eq for SearchPredicate
Source§impl PartialEq for SearchPredicate
impl PartialEq for SearchPredicate
impl StructuralPartialEq for SearchPredicate
Auto Trait Implementations§
impl Freeze for SearchPredicate
impl RefUnwindSafe for SearchPredicate
impl Send for SearchPredicate
impl Sync for SearchPredicate
impl Unpin for SearchPredicate
impl UnsafeUnpin for SearchPredicate
impl UnwindSafe for SearchPredicate
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