pub struct Disable {
pub jid: BareJid,
pub node: Option<String>,
}
Expand description
A disable element for push notifications
Fields§
§jid: BareJid
The ‘jid’ attribute of the XMPP Push Service being disabled.
node: Option<String>
The ‘node’ attribute which was set to the provisioned node specified by the App Server.
Trait Implementations§
Source§impl AsXml for Disable
impl AsXml for Disable
Source§impl FromXml for Disable
impl FromXml for Disable
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
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self
may be parsed from
a given XML element. Read moreSource§impl TryFrom<Element> for Disable
impl TryFrom<Element> for Disable
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl IqSetPayload for Disable
Auto Trait Implementations§
impl Freeze for Disable
impl RefUnwindSafe for Disable
impl Send for Disable
impl Sync for Disable
impl Unpin for Disable
impl UnwindSafe for Disable
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