pub struct Unblock {
pub items: Vec<Jid>,
}Expand description
A query to unblock one or more JIDs, or all of them.
Warning: not putting any JID there means clearing out the blocklist.
Fields§
§items: Vec<Jid>List of JIDs affected by this command.
Trait Implementations§
Source§impl AsXml for Unblock
impl AsXml for Unblock
Source§impl FromXml for Unblock
impl FromXml for Unblock
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 moreimpl IqSetPayload for Unblock
impl StructuralPartialEq for Unblock
Auto Trait Implementations§
impl Freeze for Unblock
impl RefUnwindSafe for Unblock
impl Send for Unblock
impl Sync for Unblock
impl Unpin for Unblock
impl UnsafeUnpin for Unblock
impl UnwindSafe for Unblock
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