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 AsXmlText for SubscriptionId
impl AsXmlText for SubscriptionId
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 FromXmlText for SubscriptionId
impl FromXmlText for SubscriptionId
source§fn from_xml_text(s: String) -> Result<SubscriptionId, Error>
fn from_xml_text(s: String) -> Result<SubscriptionId, Error>
Convert the given XML text to a value.
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
impl Eq for SubscriptionId
impl StructuralPartialEq for SubscriptionId
Auto Trait Implementations§
impl Freeze for SubscriptionId
impl RefUnwindSafe for SubscriptionId
impl Send for SubscriptionId
impl Sync for SubscriptionId
impl Unpin for SubscriptionId
impl UnwindSafe for SubscriptionId
Blanket Implementations§
§impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)