pub struct ChannelUpdate {
pub channel: Channel,
}Expand description
See https://discord.com/developers/docs/topics/gateway-events#channel-update Not directly serialized, as the inner payload is a channel object
Fields§
§channel: ChannelTrait Implementations§
Source§impl Debug for ChannelUpdate
impl Debug for ChannelUpdate
Source§impl Default for ChannelUpdate
impl Default for ChannelUpdate
Source§fn default() -> ChannelUpdate
fn default() -> ChannelUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelUpdate
impl<'de> Deserialize<'de> for ChannelUpdate
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 ChannelUpdate
impl Serialize for ChannelUpdate
impl WebSocketEvent for ChannelUpdate
Auto Trait Implementations§
impl Freeze for ChannelUpdate
impl RefUnwindSafe for ChannelUpdate
impl Send for ChannelUpdate
impl Sync for ChannelUpdate
impl Unpin for ChannelUpdate
impl UnwindSafe for ChannelUpdate
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