pub struct PublisherId(/* private fields */);Expand description
Identity of the publisher that submitted a message.
Implementations§
Trait Implementations§
Source§impl Clone for PublisherId
impl Clone for PublisherId
Source§fn clone(&self) -> PublisherId
fn clone(&self) -> PublisherId
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 PublisherId
impl Debug for PublisherId
Source§impl Default for PublisherId
impl Default for PublisherId
impl Eq for PublisherId
Source§impl From<&str> for PublisherId
impl From<&str> for PublisherId
Source§impl From<String> for PublisherId
impl From<String> for PublisherId
Source§impl Hash for PublisherId
impl Hash for PublisherId
Source§impl PartialEq for PublisherId
impl PartialEq for PublisherId
Source§fn eq(&self, other: &PublisherId) -> bool
fn eq(&self, other: &PublisherId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PublisherId
Auto Trait Implementations§
impl Freeze for PublisherId
impl RefUnwindSafe for PublisherId
impl Send for PublisherId
impl Sync for PublisherId
impl Unpin for PublisherId
impl UnsafeUnpin for PublisherId
impl UnwindSafe for PublisherId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.