Struct xmpp_parsers::pubsub::owner::Subscriptions
source · pub struct Subscriptions {
pub node: NodeName,
pub subscriptions: Vec<SubscriptionElem>,
}
Expand description
A request for current subscriptions.
Fields§
§node: NodeName
The node to query.
subscriptions: Vec<SubscriptionElem>
The list of subscription elements returned.
Trait Implementations§
source§impl AsXml for Subscriptions
impl AsXml for Subscriptions
§type ItemIter<'xso_proc_as_xml_iter_lifetime> = SubscriptionsAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
type ItemIter<'xso_proc_as_xml_iter_lifetime> = SubscriptionsAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
The iterator type. Read more
source§fn as_xml_iter(&self) -> Result<Self::ItemIter<'_>, Error>
fn as_xml_iter(&self) -> Result<Self::ItemIter<'_>, Error>
Return an iterator which emits the contents of the struct or enum as
serialisable [
Item
] items.source§impl Clone for Subscriptions
impl Clone for Subscriptions
source§fn clone(&self) -> Subscriptions
fn clone(&self) -> Subscriptions
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 Subscriptions
impl Debug for Subscriptions
source§impl From<Subscriptions> for Element
impl From<Subscriptions> for Element
source§fn from(other: Subscriptions) -> Self
fn from(other: Subscriptions) -> Self
Converts to this type from the input type.
source§impl FromXml for Subscriptions
impl FromXml for Subscriptions
source§impl PartialEq for Subscriptions
impl PartialEq for Subscriptions
source§impl TryFrom<Element> for Subscriptions
impl TryFrom<Element> for Subscriptions
impl StructuralPartialEq for Subscriptions
Auto Trait Implementations§
impl Freeze for Subscriptions
impl RefUnwindSafe for Subscriptions
impl Send for Subscriptions
impl Sync for Subscriptions
impl Unpin for Subscriptions
impl UnwindSafe for Subscriptions
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)