Struct xmpp_parsers::mix::Subscribe
source · pub struct Subscribe {
pub node: NodeName,
}
Expand description
A node to subscribe to.
Fields§
§node: NodeName
The PubSub node to subscribe to.
Implementations§
Trait Implementations§
source§impl AsXml for Subscribe
impl AsXml for Subscribe
§type ItemIter<'xso_proc_as_xml_iter_lifetime> = SubscribeAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
type ItemIter<'xso_proc_as_xml_iter_lifetime> = SubscribeAsXmlIterator<'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.impl StructuralPartialEq for Subscribe
Auto Trait Implementations§
impl Freeze for Subscribe
impl RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl UnwindSafe for Subscribe
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
)