Struct Filter
pub struct Filter {
pub(crate) exclude: bool,
pub(crate) comparison: Comparison,
}Fields§
§exclude: bool§comparison: ComparisonImplementations§
§impl Filter
impl Filter
fn is_redundant(&self) -> bool
fn should_keep(&self, value: &Value) -> bool
fn transform(&self, value: &Value) -> Outcome
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filter
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