[][src]Enum xmpp_parsers::muc::user::Status

pub enum Status {
    NonAnonymousRoom,
    AffiliationChange,
    ConfigShowsUnavailableMembers,
    ConfigHidesUnavailableMembers,
    ConfigNonPrivacyRelated,
    SelfPresence,
    ConfigRoomLoggingEnabled,
    ConfigRoomLoggingDisabled,
    ConfigRoomNonAnonymous,
    ConfigRoomSemiAnonymous,
    RoomHasBeenCreated,
    AssignedNick,
    Banned,
    NewNick,
    Kicked,
    RemovalFromRoom,
    ConfigMembersOnly,
    ServiceShutdown,
}

Lists all of the possible status codes used in MUC presences.

Variants

NonAnonymousRoom

Inform user that any occupant is allowed to see the user's full JID

AffiliationChange

Inform user that his or her affiliation changed while not in the room

ConfigShowsUnavailableMembers

Inform occupants that room now shows unavailable members

ConfigHidesUnavailableMembers

Inform occupants that room now does not show unavailable members

ConfigNonPrivacyRelated

Inform occupants that a non-privacy-related room configuration change has occurred

SelfPresence

Inform user that presence refers to itself

ConfigRoomLoggingEnabled

Inform occupants that room logging is now enabled

ConfigRoomLoggingDisabled

Inform occupants that room logging is now disabled

ConfigRoomNonAnonymous

Inform occupants that the room is now non-anonymous

ConfigRoomSemiAnonymous

Inform occupants that the room is now semi-anonymous

RoomHasBeenCreated

Inform user that a new room has been created

AssignedNick

Inform user that service has assigned or modified occupant's roomnick

Banned

Inform user that he or she has been banned from the room

NewNick

Inform all occupants of new room nickname

Kicked

Inform user that he or she has been kicked from the room

RemovalFromRoom

Inform user that he or she is being removed from the room because of an affiliation change

ConfigMembersOnly

Inform user that he or she is being removed from the room because the room has been changed to members-only and the user is not a member

ServiceShutdown

Inform user that he or she is being removed from the room because the MUC service is being shut down

Trait Implementations

impl From<Status> for Element[src]

impl PartialEq<Status> for Status[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for Status[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Status[src]

impl TryFrom<Element> for Status[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for Status

impl Unpin for Status

impl Sync for Status

impl UnwindSafe for Status

impl RefUnwindSafe for Status

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoElements for T where
    T: Into<Element>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self