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

pub struct ClearMsg { /* fields omitted */ }

When a single message has been removed from a channel.

This is triggered via /delete on IRC.

Methods

impl ClearMsg[src]

pub fn tags(&self) -> &Tags[src]

IRC tags

pub fn channel(&self) -> &Channel[src]

The channel this event happened on

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

The message.

impl ClearMsg[src]

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

Name of the user who sent the message.

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

UUID of the message.

Trait Implementations

impl Tag for ClearMsg[src]

impl PartialEq<ClearMsg> 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 From<Message> for ClearMsg[src]

impl Debug for ClearMsg[src]

impl Serialize for ClearMsg[src]

impl<'de> Deserialize<'de> for ClearMsg[src]

Auto Trait Implementations

impl Send for ClearMsg

impl Sync for ClearMsg

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]