Struct query_structure::filter::RelationFilter
source · pub struct RelationFilter {
pub field: RelationField,
pub nested_filter: Box<Filter>,
pub condition: RelationCondition,
}
Fields§
§field: RelationField
Starting field of the relation traversal.
nested_filter: Box<Filter>
Filter the related records need to fulfill.
condition: RelationCondition
The type of relation condition to use.
E.g. if all related records or only some need
to fulfill nested_filter
.
Implementations§
Trait Implementations§
source§impl Clone for RelationFilter
impl Clone for RelationFilter
source§fn clone(&self) -> RelationFilter
fn clone(&self) -> RelationFilter
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 RelationFilter
impl Debug for RelationFilter
source§impl From<RelationFilter> for Filter
impl From<RelationFilter> for Filter
source§fn from(sf: RelationFilter) -> Self
fn from(sf: RelationFilter) -> Self
Converts to this type from the input type.
source§impl Hash for RelationFilter
impl Hash for RelationFilter
source§impl PartialEq for RelationFilter
impl PartialEq for RelationFilter
source§fn eq(&self, other: &RelationFilter) -> bool
fn eq(&self, other: &RelationFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RelationFilter
impl StructuralEq for RelationFilter
impl StructuralPartialEq for RelationFilter
Auto Trait Implementations§
impl !RefUnwindSafe for RelationFilter
impl Send for RelationFilter
impl Sync for RelationFilter
impl Unpin for RelationFilter
impl !UnwindSafe for RelationFilter
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.