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 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