[][src]Enum twitch_irc::message::ClearChatAction

pub enum ClearChatAction {
    ChatCleared,
    UserBanned {
        user_login: String,
        user_id: String,
    },
    UserTimedOut {
        user_login: String,
        user_id: String,
        timeout_length: Duration,
    },
}

One of the three types of meaning a CLEARCHAT message can have.

Variants

ChatCleared

A moderator cleared the entire chat.

UserBanned

A user was permanently banned.

Fields of UserBanned

user_login: String

Login name of the user that was banned

user_id: String

ID of the user that was banned

UserTimedOut

A user was temporarily banned (timed out).

Fields of UserTimedOut

user_login: String

Login name of the user that was banned

user_id: String

ID of the user that was banned

timeout_length: Duration

Duration that the user was timed out for.

Trait Implementations

impl Clone for ClearChatAction[src]

impl Debug for ClearChatAction[src]

impl PartialEq<ClearChatAction> for ClearChatAction[src]

impl StructuralPartialEq for ClearChatAction[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,