pub struct SubscriberId(pub String);Expand description
Unique identifier for a subscriber.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for SubscriberId
impl Clone for SubscriberId
Source§fn clone(&self) -> SubscriberId
fn clone(&self) -> SubscriberId
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 SubscriberId
impl Debug for SubscriberId
Source§impl<'de> Deserialize<'de> for SubscriberId
impl<'de> Deserialize<'de> for SubscriberId
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 Display for SubscriberId
impl Display for SubscriberId
Source§impl From<&str> for SubscriberId
impl From<&str> for SubscriberId
Source§impl From<String> for SubscriberId
impl From<String> for SubscriberId
Source§impl Hash for SubscriberId
impl Hash for SubscriberId
Source§impl PartialEq for SubscriberId
impl PartialEq for SubscriberId
Source§impl Serialize for SubscriberId
impl Serialize for SubscriberId
impl Eq for SubscriberId
impl StructuralPartialEq for SubscriberId
Auto Trait Implementations§
impl Freeze for SubscriberId
impl RefUnwindSafe for SubscriberId
impl Send for SubscriberId
impl Sync for SubscriberId
impl Unpin for SubscriberId
impl UnsafeUnpin for SubscriberId
impl UnwindSafe for SubscriberId
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