pub struct Muc {
pub password: Option<String>,
pub history: Option<History>,
}Expand description
Represents a room join request.
Fields§
§password: Option<String>Password to use when the room is protected by a password.
history: Option<History>Controls how much and how old we want to receive history on join.
Implementations§
Trait Implementations§
Source§impl AsXml for Muc
impl AsXml for Muc
Source§impl FromXml for Muc
impl FromXml for Muc
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 Muc
impl TryFrom<Element> for Muc
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl PresencePayload for Muc
impl StructuralPartialEq for Muc
Auto Trait Implementations§
impl Freeze for Muc
impl RefUnwindSafe for Muc
impl Send for Muc
impl Sync for Muc
impl Unpin for Muc
impl UnwindSafe for Muc
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