pub enum ScalarListCondition {
Contains(ConditionValue),
ContainsEvery(ConditionListValue),
ContainsSome(ConditionListValue),
IsEmpty(bool),
}
Variants§
Contains(ConditionValue)
List contains the given value
ContainsEvery(ConditionListValue)
List contains all the given values
ContainsSome(ConditionListValue)
List contains some of the given values
IsEmpty(bool)
List emptiness check
Implementations§
source§impl ScalarListCondition
impl ScalarListCondition
sourcepub fn as_field_ref(&self) -> Option<&ScalarFieldRef>
pub fn as_field_ref(&self) -> Option<&ScalarFieldRef>
Returns the referenced field of the filter condition if there’s one
Trait Implementations§
source§impl Clone for ScalarListCondition
impl Clone for ScalarListCondition
source§fn clone(&self) -> ScalarListCondition
fn clone(&self) -> ScalarListCondition
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 ScalarListCondition
impl Debug for ScalarListCondition
source§impl Hash for ScalarListCondition
impl Hash for ScalarListCondition
source§impl PartialEq for ScalarListCondition
impl PartialEq for ScalarListCondition
source§fn eq(&self, other: &ScalarListCondition) -> bool
fn eq(&self, other: &ScalarListCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ScalarListCondition
impl StructuralEq for ScalarListCondition
impl StructuralPartialEq for ScalarListCondition
Auto Trait Implementations§
impl !RefUnwindSafe for ScalarListCondition
impl Send for ScalarListCondition
impl Sync for ScalarListCondition
impl Unpin for ScalarListCondition
impl !UnwindSafe for ScalarListCondition
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
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.