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