pub enum TopicNameOrId {
Name(TopicName),
Id(u16),
}Variants§
Trait Implementations§
Source§impl Clone for TopicNameOrId
impl Clone for TopicNameOrId
Source§fn clone(&self) -> TopicNameOrId
fn clone(&self) -> TopicNameOrId
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 TopicNameOrId
impl Debug for TopicNameOrId
Source§impl PartialEq for TopicNameOrId
impl PartialEq for TopicNameOrId
Source§impl TryWrite for TopicNameOrId
impl TryWrite for TopicNameOrId
impl StructuralPartialEq for TopicNameOrId
Auto Trait Implementations§
impl Freeze for TopicNameOrId
impl RefUnwindSafe for TopicNameOrId
impl Send for TopicNameOrId
impl Sync for TopicNameOrId
impl Unpin for TopicNameOrId
impl UnwindSafe for TopicNameOrId
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