pub struct MessageFilters {
pub filters: Option<Vec<Filter>>,
}Expand description
Message filtering criteria for querying stored messages
Fields§
§filters: Option<Vec<Filter>>Implementations§
Source§impl MessageFilters
impl MessageFilters
pub fn is_empty(&self) -> bool
Sourcepub fn apply_operation(&mut self, operation: &FilterOperation)
pub fn apply_operation(&mut self, operation: &FilterOperation)
Apply a type-safe filter operation to this filter set
Trait Implementations§
Source§impl Clone for MessageFilters
impl Clone for MessageFilters
Source§fn clone(&self) -> MessageFilters
fn clone(&self) -> MessageFilters
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 MessageFilters
impl Debug for MessageFilters
Source§impl Default for MessageFilters
impl Default for MessageFilters
Source§fn default() -> MessageFilters
fn default() -> MessageFilters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageFilters
impl<'de> Deserialize<'de> for MessageFilters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageFilters
impl PartialEq for MessageFilters
Source§impl Serialize for MessageFilters
impl Serialize for MessageFilters
impl StructuralPartialEq for MessageFilters
Auto Trait Implementations§
impl Freeze for MessageFilters
impl RefUnwindSafe for MessageFilters
impl Send for MessageFilters
impl Sync for MessageFilters
impl Unpin for MessageFilters
impl UnwindSafe for MessageFilters
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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