Struct twitch_irc::message::ClearMsgMessage  
source · [−]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,
}Expand description
Message for when a single message is deleted from chat.
The deleted message is identified by its message_id.
Fields
channel_login: StringLogin name of the channel that the deleted message was posted in.
sender_login: Stringlogin name of the user that sent the original message that was deleted by this
CLEARMSG.
message_id: StringID of the message that was deleted.
message_text: StringText of the message that was deleted
is_action: boolWhether the deleted message was an action (/me)
server_timestamp: DateTime<Utc>server timestamp for the time when the delete command was executed.
source: IRCMessageThe message that this ClearMsgMessage was parsed from.
Trait Implementations
sourceimpl Clone for ClearMsgMessage
 
impl Clone for ClearMsgMessage
sourcefn clone(&self) -> ClearMsgMessage
 
fn clone(&self) -> ClearMsgMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for ClearMsgMessage
 
impl Debug for ClearMsgMessage
sourceimpl<'de> Deserialize<'de> for ClearMsgMessage
 
impl<'de> Deserialize<'de> for ClearMsgMessage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<ClearMsgMessage> for IRCMessage
 
impl From<ClearMsgMessage> for IRCMessage
sourcefn from(msg: ClearMsgMessage) -> IRCMessage
 
fn from(msg: ClearMsgMessage) -> IRCMessage
Converts to this type from the input type.
sourceimpl PartialEq<ClearMsgMessage> for ClearMsgMessage
 
impl PartialEq<ClearMsgMessage> for ClearMsgMessage
sourcefn eq(&self, other: &ClearMsgMessage) -> bool
 
fn eq(&self, other: &ClearMsgMessage) -> bool
sourceimpl Serialize for ClearMsgMessage
 
impl Serialize for ClearMsgMessage
sourceimpl TryFrom<IRCMessage> for ClearMsgMessage
 
impl TryFrom<IRCMessage> for ClearMsgMessage
type Error = ServerMessageParseError
type Error = ServerMessageParseError
The type returned in the event of a conversion error.
sourcefn try_from(
    source: IRCMessage
) -> Result<ClearMsgMessage, ServerMessageParseError>
 
fn try_from(
    source: IRCMessage
) -> Result<ClearMsgMessage, ServerMessageParseError>
Performs the conversion.
impl Eq for ClearMsgMessage
impl StructuralEq for ClearMsgMessage
impl StructuralPartialEq for ClearMsgMessage
Auto Trait Implementations
impl RefUnwindSafe for ClearMsgMessage
impl Send for ClearMsgMessage
impl Sync for ClearMsgMessage
impl Unpin for ClearMsgMessage
impl UnwindSafe for ClearMsgMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.