Struct xmpp_parsers::muc::user::MucUser
source · pub struct MucUser {
pub status: Vec<Status>,
pub items: Vec<Item>,
}
Expand description
The main muc#user element.
Fields§
§status: Vec<Status>
List of statuses applying to this item.
items: Vec<Item>
List of items.
Implementations§
Trait Implementations§
source§impl AsXml for MucUser
impl AsXml for MucUser
source§type ItemIter<'xso_proc_as_xml_iter_lifetime> = MucUserAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
type ItemIter<'xso_proc_as_xml_iter_lifetime> = MucUserAsXmlIterator<'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 MessagePayload for MucUser
impl PresencePayload for MucUser
impl StructuralPartialEq for MucUser
Auto Trait Implementations§
impl Freeze for MucUser
impl RefUnwindSafe for MucUser
impl Send for MucUser
impl Sync for MucUser
impl Unpin for MucUser
impl UnwindSafe for MucUser
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)