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