pub struct OccupantId {
    pub id: String,
}Expand description
Unique identifier given to a MUC participant.
It allows clients to identify a MUC participant across reconnects and renames. It thus prevents impersonification of anonymous users.
Fields§
§id: StringThe id associated to the sending user by the MUC service.
Trait Implementations§
Source§impl AsXml for OccupantId
 
impl AsXml for OccupantId
Source§impl Clone for OccupantId
 
impl Clone for OccupantId
Source§fn clone(&self) -> OccupantId
 
fn clone(&self) -> OccupantId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for OccupantId
 
impl Debug for OccupantId
Source§impl From<&OccupantId> for Element
 
impl From<&OccupantId> for Element
Source§fn from(other: &OccupantId) -> Self
 
fn from(other: &OccupantId) -> Self
Converts to this type from the input type.
Source§impl From<OccupantId> for Element
 
impl From<OccupantId> for Element
Source§fn from(other: OccupantId) -> Self
 
fn from(other: OccupantId) -> Self
Converts to this type from the input type.
Source§impl FromXml for OccupantId
 
impl FromXml for OccupantId
Source§type Builder = OccupantIdFromXmlBuilder
 
type Builder = OccupantIdFromXmlBuilder
A builder type used to construct the element. Read more
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 PartialEq for OccupantId
 
impl PartialEq for OccupantId
Source§impl TryFrom<Element> for OccupantId
 
impl TryFrom<Element> for OccupantId
Source§type Error = FromElementError
 
type Error = FromElementError
The type returned in the event of a conversion error.
impl MessagePayload for OccupantId
impl PresencePayload for OccupantId
impl StructuralPartialEq for OccupantId
Auto Trait Implementations§
impl Freeze for OccupantId
impl RefUnwindSafe for OccupantId
impl Send for OccupantId
impl Sync for OccupantId
impl Unpin for OccupantId
impl UnwindSafe for OccupantId
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