pub struct ThreadList(pub Vec<ThreadListPage>);Expand description
threads.json, the lightweight summary list of every active thread on a
board, useful for cheap polling with If-Modified-Since.
Tuple Fields§
§0: Vec<ThreadListPage>Implementations§
Source§impl ThreadList
impl ThreadList
pub fn pages(&self) -> &[ThreadListPage]
pub fn threads(&self) -> impl Iterator<Item = &ThreadStub>
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