pub struct Subscribe {
pub jid: Jid,
pub node: Option<NodeName>,
}Expand description
A request to subscribe a JID to a node.
Fields§
§jid: JidThe JID being subscribed.
node: Option<NodeName>The node to subscribe to.
Trait Implementations§
Source§impl AsXml for Subscribe
impl AsXml for Subscribe
Source§impl FromXml for Subscribe
impl FromXml for Subscribe
Source§const XML_NAME_MATCHER: XmlNameMatcher<'static>
const XML_NAME_MATCHER: XmlNameMatcher<'static>
A predicate which determines if
Self may be parsed from
a given XML element. Read moreSource§type Builder = SubscribeFromXmlBuilder
type Builder = SubscribeFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
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 UnsafeUnpin 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