[][src]Struct twitch_irc::message::ClearMsgMessage

pub struct ClearMsgMessage {
    pub channel_login: String,
    pub sender_login: String,
    pub message_id: String,
    pub message_text: String,
    pub is_action: bool,
    pub server_timestamp: DateTime<Utc>,
    pub source: IRCMessage,
}

Message for when a single message is deleted from chat.

The deleted message is identified by its message_id.

Fields

channel_login: String

Login name of the channel that the deleted message was posted in.

sender_login: String

login name of the user that sent the original message that was deleted by this CLEARMSG.

message_id: String

ID of the message that was deleted.

message_text: String

Text of the message that was deleted

is_action: bool

Whether the deleted message was an action (/me)

server_timestamp: DateTime<Utc>

server timestamp for the time when the delete command was executed.

source: IRCMessage

The message that this ClearMsgMessage was parsed from.

Trait Implementations

impl Clone for ClearMsgMessage[src]

impl Debug for ClearMsgMessage[src]

impl From<ClearMsgMessage> for IRCMessage[src]

impl PartialEq<ClearMsgMessage> for ClearMsgMessage[src]

impl StructuralPartialEq for ClearMsgMessage[src]

impl TryFrom<IRCMessage> for ClearMsgMessage[src]

type Error = ServerMessageParseError

The type returned in the event of a conversion error.

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, 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>,