pub enum PrefixFilter {
One(String),
Many(Vec<String>),
}Expand description
Prefix filter in subscribe payload can be a single string or list.
Variants§
Trait Implementations§
Source§impl Clone for PrefixFilter
impl Clone for PrefixFilter
Source§fn clone(&self) -> PrefixFilter
fn clone(&self) -> PrefixFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrefixFilter
impl Debug for PrefixFilter
Source§impl PartialEq for PrefixFilter
impl PartialEq for PrefixFilter
Source§fn eq(&self, other: &PrefixFilter) -> bool
fn eq(&self, other: &PrefixFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrefixFilter
impl Serialize for PrefixFilter
impl StructuralPartialEq for PrefixFilter
Auto Trait Implementations§
impl Freeze for PrefixFilter
impl RefUnwindSafe for PrefixFilter
impl Send for PrefixFilter
impl Sync for PrefixFilter
impl Unpin for PrefixFilter
impl UnsafeUnpin for PrefixFilter
impl UnwindSafe for PrefixFilter
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