Struct twilight_model::gateway::payload::incoming::MessageDelete
source · pub struct MessageDelete {
pub channel_id: Id<ChannelMarker>,
pub guild_id: Option<Id<GuildMarker>>,
pub id: Id<MessageMarker>,
}
Fields§
§channel_id: Id<ChannelMarker>
§guild_id: Option<Id<GuildMarker>>
§id: Id<MessageMarker>
Trait Implementations§
source§impl Clone for MessageDelete
impl Clone for MessageDelete
source§fn clone(&self) -> MessageDelete
fn clone(&self) -> MessageDelete
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessageDelete
impl Debug for MessageDelete
source§impl<'de> Deserialize<'de> for MessageDelete
impl<'de> Deserialize<'de> for MessageDelete
source§fn 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
source§impl Hash for MessageDelete
impl Hash for MessageDelete
source§impl PartialEq<MessageDelete> for MessageDelete
impl PartialEq<MessageDelete> for MessageDelete
source§fn eq(&self, other: &MessageDelete) -> bool
fn eq(&self, other: &MessageDelete) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.