Struct query_structure::filter::ScalarListFilter
source · pub struct ScalarListFilter {
pub field: ScalarFieldRef,
pub condition: ScalarListCondition,
}
Fields§
§field: ScalarFieldRef
§condition: ScalarListCondition
Implementations§
source§impl ScalarListFilter
impl ScalarListFilter
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 ScalarListFilter
impl Clone for ScalarListFilter
source§fn clone(&self) -> ScalarListFilter
fn clone(&self) -> ScalarListFilter
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 ScalarListFilter
impl Debug for ScalarListFilter
source§impl From<ScalarListFilter> for Filter
impl From<ScalarListFilter> for Filter
source§fn from(sf: ScalarListFilter) -> Self
fn from(sf: ScalarListFilter) -> Self
Converts to this type from the input type.
source§impl Hash for ScalarListFilter
impl Hash for ScalarListFilter
source§impl PartialEq for ScalarListFilter
impl PartialEq for ScalarListFilter
source§fn eq(&self, other: &ScalarListFilter) -> bool
fn eq(&self, other: &ScalarListFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ScalarListFilter
impl StructuralEq for ScalarListFilter
impl StructuralPartialEq for ScalarListFilter
Auto Trait Implementations§
impl !RefUnwindSafe for ScalarListFilter
impl Send for ScalarListFilter
impl Sync for ScalarListFilter
impl Unpin for ScalarListFilter
impl !UnwindSafe for ScalarListFilter
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.