pub struct ThreadsPage {
pub items: Vec<ThreadItem>,
pub next_cursor: Option<Cursor>,
pub num_scanned_files: usize,
pub reached_scan_cap: bool,
}Expand description
Returned page of thread (thread) summaries.
Fields§
§items: Vec<ThreadItem>Thread summaries ordered newest first.
next_cursor: Option<Cursor>Opaque pagination token to resume after the last item, or None if end.
num_scanned_files: usizeTotal number of files touched while scanning this request.
reached_scan_cap: boolTrue if a hard scan cap was hit; consider resuming with next_cursor.
Trait Implementations§
Source§impl Debug for ThreadsPage
impl Debug for ThreadsPage
Source§impl Default for ThreadsPage
impl Default for ThreadsPage
Source§fn default() -> ThreadsPage
fn default() -> ThreadsPage
Returns the “default value” for a type. Read more
Source§impl From<ThreadsPage> for ThreadsPage
impl From<ThreadsPage> for ThreadsPage
Source§fn from(db_page: ThreadsPage) -> Self
fn from(db_page: ThreadsPage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ThreadsPage
impl PartialEq for ThreadsPage
impl StructuralPartialEq for ThreadsPage
Auto Trait Implementations§
impl Freeze for ThreadsPage
impl RefUnwindSafe for ThreadsPage
impl Send for ThreadsPage
impl Sync for ThreadsPage
impl Unpin for ThreadsPage
impl UnsafeUnpin for ThreadsPage
impl UnwindSafe for ThreadsPage
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request