pub enum FilterRule {
Field {
field: String,
test: FilterTest,
},
Group(Filter),
}Expand description
A rule of a Filter: a test of one field, or a group of rules.
Variants§
Field
The field with this key passes the test.
Group(Filter)
Rules of their own, combined their own way (the user makes one by Option-clicking + in the editor).
Trait Implementations§
Source§impl Clone for FilterRule
impl Clone for FilterRule
Source§impl Debug for FilterRule
impl Debug for FilterRule
Source§impl PartialEq for FilterRule
impl PartialEq for FilterRule
impl StructuralPartialEq for FilterRule
Auto Trait Implementations§
impl Forget for FilterRule
impl Freeze for FilterRule
impl Move for FilterRule
impl RefUnwindSafe for FilterRule
impl Send for FilterRule
impl Sync for FilterRule
impl Unpin for FilterRule
impl UnsafeUnpin for FilterRule
impl UnwindSafe for FilterRule
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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