pub struct InboxBatch {
pub references: Vec<InboxReference>,
pub from_broker: i64,
pub more: bool,
pub note: Option<String>,
}Fields§
§references: Vec<InboxReference>§from_broker: i64How many of them the broker supplied. The rest were rebuilt from the bus’s own records, which are the authority.
more: boolTrue when the batch filled: call again.
note: Option<String>Present when something is worth saying about where these references came from: an unreachable broker, a missing consumer, a team whose conversations live on Postgres.
Written for you, not for an operator. It never carries backend
detail — no stream names, no error codes, no credentials — and never
asks you to run something only an operator can; that detail is in
the server log. A note is not an error and not a reason to retry the
call that produced it: the page beside it is complete either way.
It never decides pagination: when it mentions paging it only repeats
that more is the authority, and more alone says whether to call
again.
Trait Implementations§
Source§impl Debug for InboxBatch
impl Debug for InboxBatch
Source§impl JsonSchema for InboxBatch
impl JsonSchema for InboxBatch
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for InboxBatch
impl RefUnwindSafe for InboxBatch
impl Send for InboxBatch
impl Sync for InboxBatch
impl Unpin for InboxBatch
impl UnsafeUnpin for InboxBatch
impl UnwindSafe for InboxBatch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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 more