[][src]Struct twitchchat::twitch::commands::ClearMsg

pub struct ClearMsg {
    pub channel: String,
    pub message: Option<String>,
    // some fields omitted
}

When a single message has been removed from a channel.

This is triggered via /delete <target-msg-id> on IRC.

Fields

channel: String

The channel this event happened on

message: Option<String>

The message being moreved

Methods

impl ClearMsg[src]

pub fn login(&self) -> Option<&str>[src]

Name of the user who sent the message.

pub fn message(&self) -> Option<&str>[src]

The message.

pub fn target_msg_id(&self) -> Option<Uuid>[src]

UUID of the message.

Trait Implementations

impl Tag for ClearMsg[src]

impl PartialEq<ClearMsg> for ClearMsg[src]

impl From<Message> for ClearMsg[src]

impl Clone for ClearMsg[src]

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

Performs copy-assignment from source. Read more

impl Debug for ClearMsg[src]

Auto Trait Implementations

impl Send for ClearMsg

impl Sync for ClearMsg

Blanket Implementations

impl<T> Tagged for T where
    T: Tag
[src]

fn get_as_bool(&self, key: &str) -> bool[src]

Tries to get the value for key as a bool, defaults to false if not found

fn get_parsed<E>(&self, key: &str) -> Option<E> where
    E: FromStr
[src]

Tries to parse (with FromStr::from_str) the value at key

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T