pub enum TopicMatch<'a> {
Any,
Absent,
Exact(&'a str),
}Expand description
Match any topic, no topic, or one exact topic (including an empty label).
Variants§
Any
Do not filter on topic presence or value.
Absent
Match only rows with no topic.
Exact(&'a str)
Match a present topic exactly.
Trait Implementations§
Source§impl<'a> Clone for TopicMatch<'a>
impl<'a> Clone for TopicMatch<'a>
impl<'a> Copy for TopicMatch<'a>
Source§impl<'a> Debug for TopicMatch<'a>
impl<'a> Debug for TopicMatch<'a>
Source§impl<'a> Default for TopicMatch<'a>
impl<'a> Default for TopicMatch<'a>
impl<'a> Eq for TopicMatch<'a>
Source§impl<'a> PartialEq for TopicMatch<'a>
impl<'a> PartialEq for TopicMatch<'a>
impl<'a> StructuralPartialEq for TopicMatch<'a>
Auto Trait Implementations§
impl<'a> Freeze for TopicMatch<'a>
impl<'a> RefUnwindSafe for TopicMatch<'a>
impl<'a> Send for TopicMatch<'a>
impl<'a> Sync for TopicMatch<'a>
impl<'a> Unpin for TopicMatch<'a>
impl<'a> UnsafeUnpin for TopicMatch<'a>
impl<'a> UnwindSafe for TopicMatch<'a>
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