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 FromXml for MucUser
impl FromXml for MucUser
§type Builder = MucUserFromXmlBuilder
type Builder = MucUserFromXmlBuilder
A builder type used to construct the element. Read more
source§fn from_events(
name: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
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
)