Struct twilight_model::channel::thread::ThreadsListing
source · pub struct ThreadsListing {
pub has_more: Option<bool>,
pub members: Vec<ThreadMember>,
pub threads: Vec<Channel>,
}Expand description
Response body returned in thread listing methods.
Fields§
§has_more: Option<bool>Whether there are potentially more threads that could be returned.
members: Vec<ThreadMember>A thread member object for each returned thread the current user has joined.
threads: Vec<Channel>List of threads.
Trait Implementations§
source§impl Clone for ThreadsListing
impl Clone for ThreadsListing
source§fn clone(&self) -> ThreadsListing
fn clone(&self) -> ThreadsListing
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 ThreadsListing
impl Debug for ThreadsListing
source§impl<'de> Deserialize<'de> for ThreadsListing
impl<'de> Deserialize<'de> for ThreadsListing
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 ThreadsListing
impl Hash for ThreadsListing
source§impl PartialEq<ThreadsListing> for ThreadsListing
impl PartialEq<ThreadsListing> for ThreadsListing
source§fn eq(&self, other: &ThreadsListing) -> bool
fn eq(&self, other: &ThreadsListing) -> bool
This method tests for
self and other values to be equal, and is used
by ==.