pub struct EventFilters {
pub hide: Option<Vec<String>>,
pub only: Option<Vec<String>>,
}Expand description
Filters for including/excluding event types.
Supports both allowlist (only) and blocklist (hide) patterns
for event type filtering.
Fields§
§hide: Option<Vec<String>>Event types to exclude (blocklist).
only: Option<Vec<String>>Event types to include exclusively (allowlist).
Auto Trait Implementations§
impl Freeze for EventFilters
impl RefUnwindSafe for EventFilters
impl Send for EventFilters
impl Sync for EventFilters
impl Unpin for EventFilters
impl UnwindSafe for EventFilters
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