pub struct RolloutContents {
pub meta: SessionMeta,
pub history: Vec<Message>,
pub last_usage: Option<Usage>,
}Expand description
A parsed rollout: the header plus the replayable message history.
Fields§
§meta: SessionMetaThe line-1 header.
history: Vec<Message>The conversation, in append order (preamble included) — compacted
records already folded in.
last_usage: Option<Usage>The last run’s provider-reported usage, when the rollout carries
usage records (written since 2026-07-24) — the exact basis for the
resumed context occupancy. None on older rollouts (callers estimate).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RolloutContents
impl RefUnwindSafe for RolloutContents
impl Send for RolloutContents
impl Sync for RolloutContents
impl Unpin for RolloutContents
impl UnsafeUnpin for RolloutContents
impl UnwindSafe for RolloutContents
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