pub struct QueryItem {
pub types: Vec<EventType>,
pub tags: Tags,
}Expand description
Fields§
§types: Vec<EventType>The types this item accepts. Empty means “any type”. Not sorted: the list is tiny (types are low cardinality) so membership is a linear scan.
Tags the event must contain all of. Sorted and duplicate-free by construction.
Implementations§
Trait Implementations§
impl Eq for QueryItem
impl StructuralPartialEq for QueryItem
Auto Trait Implementations§
impl Freeze for QueryItem
impl RefUnwindSafe for QueryItem
impl Send for QueryItem
impl Sync for QueryItem
impl Unpin for QueryItem
impl UnsafeUnpin for QueryItem
impl UnwindSafe for QueryItem
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