pub enum QueryComponent {
CommandRegex(String),
FieldFilter(FieldFilter),
Tag(String),
}Expand description
A query component (filter or tag).
Variants§
CommandRegex(String)
Command regex: %/pattern/
FieldFilter(FieldFilter)
Field filter: %field
Tag(String)
Tag reference: %tag-name
Trait Implementations§
Source§impl Clone for QueryComponent
impl Clone for QueryComponent
Source§fn clone(&self) -> QueryComponent
fn clone(&self) -> QueryComponent
Returns a duplicate of the value. Read more
1.0.0 · 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 QueryComponent
impl Debug for QueryComponent
Source§impl PartialEq for QueryComponent
impl PartialEq for QueryComponent
impl StructuralPartialEq for QueryComponent
Auto Trait Implementations§
impl Freeze for QueryComponent
impl RefUnwindSafe for QueryComponent
impl Send for QueryComponent
impl Sync for QueryComponent
impl Unpin for QueryComponent
impl UnwindSafe for QueryComponent
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