pub struct RolloutSummary {Show 14 fields
pub session_id: String,
pub cwd: String,
pub started_at_secs: u64,
pub last_event_secs: u64,
pub input_tokens: u64,
pub cached_input_tokens: u64,
pub output_tokens: u64,
pub total_tokens: u64,
pub context_window: Option<u64>,
pub model: Option<String>,
pub lifecycle: Lifecycle,
pub tool_calls: u32,
pub last_tool: Option<String>,
pub path: PathBuf,
}Expand description
What one rollout transcript says about its session.
Fields§
§session_id: StringCodex’s own session id, from session_meta.
cwd: StringWorking directory the session was started in.
started_at_secs: u64Epoch seconds of the first event.
last_event_secs: u64Epoch seconds of the last event carrying a timestamp.
input_tokens: u64§cached_input_tokens: u64§output_tokens: u64§total_tokens: u64total_tokens as Codex reports it — what the context window is
measured against.
context_window: Option<u64>The model’s context window, when the transcript says.
model: Option<String>§lifecycle: Lifecycle§tool_calls: u32Tool calls seen, for the activity signal.
last_tool: Option<String>The most recent tool call’s name, already canonicalized into the cross-agent vocabulary (#522) so it compares with a Claude session’s.
path: PathBufThe transcript this came from.
Trait Implementations§
Source§impl Clone for RolloutSummary
impl Clone for RolloutSummary
Source§impl Debug for RolloutSummary
impl Debug for RolloutSummary
Auto Trait Implementations§
impl Freeze for RolloutSummary
impl RefUnwindSafe for RolloutSummary
impl Send for RolloutSummary
impl Sync for RolloutSummary
impl Unpin for RolloutSummary
impl UnsafeUnpin for RolloutSummary
impl UnwindSafe for RolloutSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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