pub struct ThreadListSync {
pub guild_id: String,
pub channel_ids: Option<Vec<String>>,
pub threads: Vec<Channel>,
pub members: Vec<ThreadMember>,
}Expand description
See https://discord.com/developers/docs/topics/gateway-events#thread-list-sync
Fields§
§guild_id: String§channel_ids: Option<Vec<String>>§threads: Vec<Channel>§members: Vec<ThreadMember>Trait Implementations§
Source§impl Debug for ThreadListSync
impl Debug for ThreadListSync
Source§impl Default for ThreadListSync
impl Default for ThreadListSync
Source§fn default() -> ThreadListSync
fn default() -> ThreadListSync
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreadListSync
impl<'de> Deserialize<'de> for ThreadListSync
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 ThreadListSync
impl Serialize for ThreadListSync
impl WebSocketEvent for ThreadListSync
Auto Trait Implementations§
impl Freeze for ThreadListSync
impl RefUnwindSafe for ThreadListSync
impl Send for ThreadListSync
impl Sync for ThreadListSync
impl Unpin for ThreadListSync
impl UnwindSafe for ThreadListSync
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