Struct xmpp_parsers::pubsub::pubsub::SubscriptionElem
source · pub struct SubscriptionElem { /* private fields */ }
Expand description
A subscription element, describing the state of a subscription.
Trait Implementations§
source§impl AsXml for SubscriptionElem
impl AsXml for SubscriptionElem
source§type ItemIter<'xso_proc_as_xml_iter_lifetime> = SubscriptionElemAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
type ItemIter<'xso_proc_as_xml_iter_lifetime> = SubscriptionElemAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
The iterator type. Read more
source§impl Clone for SubscriptionElem
impl Clone for SubscriptionElem
source§fn clone(&self) -> SubscriptionElem
fn clone(&self) -> SubscriptionElem
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 SubscriptionElem
impl Debug for SubscriptionElem
source§impl From<SubscriptionElem> for Element
impl From<SubscriptionElem> for Element
source§fn from(other: SubscriptionElem) -> Self
fn from(other: SubscriptionElem) -> Self
Converts to this type from the input type.
source§impl FromXml for SubscriptionElem
impl FromXml for SubscriptionElem
source§type Builder = SubscriptionElemFromXmlBuilder
type Builder = SubscriptionElemFromXmlBuilder
A builder type used to construct the element. Read more
source§fn from_events(
name: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
source§impl PartialEq for SubscriptionElem
impl PartialEq for SubscriptionElem
source§impl TryFrom<Element> for SubscriptionElem
impl TryFrom<Element> for SubscriptionElem
impl StructuralPartialEq for SubscriptionElem
Auto Trait Implementations§
impl Freeze for SubscriptionElem
impl RefUnwindSafe for SubscriptionElem
impl Send for SubscriptionElem
impl Sync for SubscriptionElem
impl Unpin for SubscriptionElem
impl UnwindSafe for SubscriptionElem
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
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
)