pub struct QueueRead {
pub token: String,
pub blocks: Vec<Vec<ContentBlock>>,
}Expand description
Successful return shape: a per-row block list plus a
confirmation token the delegate has reserved for this batch.
The proxy embeds token in the wrapper prefix it prepends to
the tool response; it does nothing else with the token.
Fields§
§token: StringOpaque confirmation token. The agent’s tool-message text
will carry it inline; run_agent_loop regex-extracts it
and calls back to confirm delivery.
blocks: Vec<Vec<ContentBlock>>One inner Vec<ContentBlock> per consumed message_queue
row, oldest-first.
Auto Trait Implementations§
impl Freeze for QueueRead
impl RefUnwindSafe for QueueRead
impl Send for QueueRead
impl Sync for QueueRead
impl Unpin for QueueRead
impl UnsafeUnpin for QueueRead
impl UnwindSafe for QueueRead
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
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 more