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

pub enum Actor {
    Jid(FullJid),
    Nick(String),
}

Optional element used in elements inside presence stanzas of type "unavailable" that are sent to users who are kick or banned, as well as within IQs for tracking purposes. -- CHANGELOG 0.17 (2002-10-23)

Possesses a 'jid' and a 'nick' attribute, so that an action can be attributed either to a real JID or to a roomnick. -- CHANGELOG 1.25 (2012-02-08)

Variants

Jid(FullJid)

The full JID associated with this user.

Nick(String)

The nickname of this user.

Trait Implementations

impl From<Actor> for Element[src]

impl PartialEq<Actor> for Actor[src]

impl Clone for Actor[src]

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

Performs copy-assignment from source. Read more

impl Debug for Actor[src]

impl TryFrom<Element> for Actor[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for Actor

impl Unpin for Actor

impl Sync for Actor

impl UnwindSafe for Actor

impl RefUnwindSafe for Actor

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