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