pub struct ThreadList {
pub count: u64,
pub threads: Vec<Thread>,
pub next_page_token: Option<String>,
}Expand description
One page of threads from a list or search call.
Fields§
§count: u64Total threads matching the query (not just this page).
threads: Vec<Thread>This page of threads.
next_page_token: Option<String>Cursor for the next page; None on the last page.
Trait Implementations§
Source§impl Clone for ThreadList
impl Clone for ThreadList
Source§fn clone(&self) -> ThreadList
fn clone(&self) -> ThreadList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThreadList
impl Debug for ThreadList
Source§impl<'de> Deserialize<'de> for ThreadList
impl<'de> Deserialize<'de> for ThreadList
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
Auto Trait Implementations§
impl Freeze for ThreadList
impl RefUnwindSafe for ThreadList
impl Send for ThreadList
impl Sync for ThreadList
impl Unpin for ThreadList
impl UnsafeUnpin for ThreadList
impl UnwindSafe for ThreadList
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