pub struct MucUser {
pub status: Vec<Status>,
pub items: Vec<Item>,
pub invite: Option<Invite>,
pub decline: Option<Decline>,
}
Expand description
The main muc#user element.
Fields§
§status: Vec<Status>
List of statuses applying to this item.
items: Vec<Item>
List of items.
invite: Option<Invite>
A mediated invite
decline: Option<Decline>
A mediated invite rejection
Implementations§
Trait Implementations§
Source§impl AsXml for MucUser
impl AsXml for MucUser
Source§impl FromXml for MucUser
impl FromXml for MucUser
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 MucUser
impl TryFrom<Element> for MucUser
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
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