pub struct FilterRule { /* private fields */ }Implementations§
Source§impl FilterRule
impl FilterRule
pub fn new( field: FilterField, operator: FilterOperator, value: impl Into<String>, ) -> Self
Trait Implementations§
Source§impl Clone for FilterRule
impl Clone for FilterRule
Source§fn clone(&self) -> FilterRule
fn clone(&self) -> FilterRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FilterRule
impl Debug for FilterRule
impl Eq for FilterRule
Source§impl PartialEq for FilterRule
impl PartialEq for FilterRule
Source§fn eq(&self, other: &FilterRule) -> bool
fn eq(&self, other: &FilterRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FilterRule
Auto Trait Implementations§
impl Freeze 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§
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