Struct xmpp_parsers::pubsub::SubscriptionId
source · pub struct SubscriptionId(pub String);
Expand description
The identifier of a subscription to a PubSub node.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for SubscriptionId
impl Clone for SubscriptionId
source§fn clone(&self) -> SubscriptionId
fn clone(&self) -> SubscriptionId
Returns a copy 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 SubscriptionId
impl Debug for SubscriptionId
source§impl FromStr for SubscriptionId
impl FromStr for SubscriptionId
source§impl Hash for SubscriptionId
impl Hash for SubscriptionId
source§impl IntoAttributeValue for SubscriptionId
impl IntoAttributeValue for SubscriptionId
source§fn into_attribute_value(self) -> Option<String>
fn into_attribute_value(self) -> Option<String>
Turns this into an attribute string, or None if it shouldn’t be added.
source§impl PartialEq for SubscriptionId
impl PartialEq for SubscriptionId
source§fn eq(&self, other: &SubscriptionId) -> bool
fn eq(&self, other: &SubscriptionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SubscriptionId
impl StructuralEq for SubscriptionId
impl StructuralPartialEq for SubscriptionId
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionId
impl Send for SubscriptionId
impl Sync for SubscriptionId
impl Unpin for SubscriptionId
impl UnwindSafe for SubscriptionId
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