pub struct ThreadPage<C> {
pub threads: Vec<ThreadNode<C>>,
pub page: u64,
pub per_page: u64,
pub total: u64,
pub has_more: bool,
}Expand description
A page of threads.
Fields§
§threads: Vec<ThreadNode<C>>The threads on this page.
page: u64The page’s number, from 1.
per_page: u64The most threads a page holds.
total: u64The number of threads on every page.
has_more: boolWhether a later page has threads.
Trait Implementations§
Source§impl<C: Debug> Debug for ThreadPage<C>
impl<C: Debug> Debug for ThreadPage<C>
Auto Trait Implementations§
impl<C> Forget for ThreadPage<C>
impl<C> Freeze for ThreadPage<C>
impl<C> Move for ThreadPage<C>
impl<C> RefUnwindSafe for ThreadPage<C>where
C: RefUnwindSafe,
impl<C> Send for ThreadPage<C>
impl<C> Sync for ThreadPage<C>
impl<C> Unpin for ThreadPage<C>
impl<C> UnsafeUnpin for ThreadPage<C>
impl<C> UnwindSafe for ThreadPage<C>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<K> ForeignKey<K> for K
impl<K> ForeignKey<K> for K
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoViewData for Twhere
T: Serialize,
impl<T> IntoViewData for Twhere
T: Serialize,
Source§fn into_view_data(self) -> ViewData
fn into_view_data(self) -> ViewData
Converts the value into view data.