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§
source§impl PartialEq for Filter
impl PartialEq for Filter
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§
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