pub struct PendingSummary {
pub section: usize,
pub range: Range,
pub messages: Vec<Message>,
pub context: Option<String>,
}Expand description
A section the plan committed with its extractive stand-in, waiting
for a Summarizer to upgrade. The handoff carries the range’s
messages by value: history is immutable, so the worker reads a
snapshot and the mirror lock is never held across the call.
Fields§
§section: usizeThe section’s index in the transcript’s section list.
range: RangeThe covered range; the commit validates it still matches.
messages: Vec<Message>The messages to summarize.
context: Option<String>The digest of the section immediately before range, taken at
plan time: context for resolving references, never summarized.
Trait Implementations§
Source§impl Clone for PendingSummary
impl Clone for PendingSummary
Auto Trait Implementations§
impl Forget for PendingSummary
impl Freeze for PendingSummary
impl Move for PendingSummary
impl RefUnwindSafe for PendingSummary
impl Send for PendingSummary
impl Sync for PendingSummary
impl Unpin for PendingSummary
impl UnsafeUnpin for PendingSummary
impl UnwindSafe for PendingSummary
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