pub struct ChannelPinsUpdate {
pub guild_id: Option<String>,
pub channel_id: String,
pub last_pin_timestamp: Option<DateTime<Utc>>,
}Expand description
See https://discord.com/developers/docs/topics/gateway-events#channel-pins-update
Fields§
§guild_id: Option<String>§channel_id: String§last_pin_timestamp: Option<DateTime<Utc>>Trait Implementations§
Source§impl Debug for ChannelPinsUpdate
impl Debug for ChannelPinsUpdate
Source§impl Default for ChannelPinsUpdate
impl Default for ChannelPinsUpdate
Source§fn default() -> ChannelPinsUpdate
fn default() -> ChannelPinsUpdate
Returns the “default value” for a type. Read more
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 Serialize for ChannelPinsUpdate
impl Serialize for ChannelPinsUpdate
impl WebSocketEvent for ChannelPinsUpdate
Auto Trait Implementations§
impl Freeze for ChannelPinsUpdate
impl RefUnwindSafe for ChannelPinsUpdate
impl Send for ChannelPinsUpdate
impl Sync for ChannelPinsUpdate
impl Unpin for ChannelPinsUpdate
impl UnwindSafe for ChannelPinsUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more