pub struct Filter<'a> { /* private fields */ }
Expand description
Restriction of the returned items before collapsing/grouping
The notation for a filter is "!"? FIELD ":" REGEX
, i.e.
an optional negation, the field that it applies to and a regex
that the server will used to match on the value.
Implementations§
Source§impl<'a> Filter<'a>
impl<'a> Filter<'a>
Sourcepub fn parse_from_str(s: &'a str) -> Result<Self, ParseFilterError>
pub fn parse_from_str(s: &'a str) -> Result<Self, ParseFilterError>
Parses a filter from a borrowed string
Auto Trait Implementations§
impl<'a> Freeze for Filter<'a>
impl<'a> RefUnwindSafe for Filter<'a>
impl<'a> Send for Filter<'a>
impl<'a> Sync for Filter<'a>
impl<'a> Unpin for Filter<'a>
impl<'a> UnwindSafe for Filter<'a>
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