Struct polar_core::filter::Filter
source · [−]pub struct Filter { /* private fields */ }
Expand description
Represents an abstract filter over a data source.
root
is a data type name supplied by the host, for example “User”.
relations
is a set of named logical extensions from the root data type to
other data types (representing “joins” for example).
conditions
is is set of sets of binary relations (an OR of ANDs) that must
hold over the data source: for every record in the data source, if for some
top-level set in conditions
every inner condition holds on the record, then
the record passes through the filter.
Implementations
Trait Implementations
impl Eq for Filter
impl StructuralEq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more