Struct twilight_model::gateway::payload::incoming::ThreadDelete
source · pub struct ThreadDelete {
pub guild_id: Id<GuildMarker>,
pub id: Id<ChannelMarker>,
pub kind: ChannelType,
pub parent_id: Id<ChannelMarker>,
}
Fields§
§guild_id: Id<GuildMarker>
§id: Id<ChannelMarker>
§kind: ChannelType
§parent_id: Id<ChannelMarker>
Trait Implementations§
source§impl Clone for ThreadDelete
impl Clone for ThreadDelete
source§fn clone(&self) -> ThreadDelete
fn clone(&self) -> ThreadDelete
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 ThreadDelete
impl Debug for ThreadDelete
source§impl<'de> Deserialize<'de> for ThreadDelete
impl<'de> Deserialize<'de> for ThreadDelete
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 ThreadDelete
impl Hash for ThreadDelete
source§impl PartialEq<ThreadDelete> for ThreadDelete
impl PartialEq<ThreadDelete> for ThreadDelete
source§fn eq(&self, other: &ThreadDelete) -> bool
fn eq(&self, other: &ThreadDelete) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.