pub struct SessionListRow {Show 25 fields
pub added_lines: i64,
pub agent: String,
pub base_branch: String,
pub created_at: i64,
pub deleted_lines: i64,
pub has_diff: Option<bool>,
pub id: String,
pub in_progress_started_at: Option<i64>,
pub in_progress_total_seconds: i64,
pub input_tokens: i64,
pub is_draft: bool,
pub model: String,
pub output_tokens: i64,
pub parent_session_id: Option<String>,
pub personality_id: Option<String>,
pub project_id: Option<i64>,
pub published_upstream_ref: Option<String>,
pub reasoning_level_override: Option<String>,
pub review_request: Option<SessionReviewRequestRow>,
pub role: Option<String>,
pub size: String,
pub speed_mode: String,
pub status: String,
pub title: Option<String>,
pub updated_at: i64,
}Expand description
Lightweight row returned when loading session-list metadata.
Omits transcript-scale fields (prompt, questions, and summary) so
list refreshes scale with visible metadata instead of the cumulative size
of every saved conversation.
Fields§
§added_lines: i64Persisted added-line count from the latest diff stats refresh.
agent: StringPersisted agent provider kind for this session.
base_branch: StringBase branch used to create the session worktree.
created_at: i64Session creation timestamp in Unix seconds.
deleted_lines: i64Persisted deleted-line count from the latest diff stats refresh.
has_diff: Option<bool>Whether the latest successful diff refresh returned content, or
None when diff availability is unknown.
id: StringStable session identifier.
in_progress_started_at: Option<i64>Open active-work interval start timestamp, if any.
in_progress_total_seconds: i64Completed active-work duration in whole seconds.
input_tokens: i64Total input tokens accumulated for the session.
is_draft: boolWhether the session is still an explicit draft.
model: StringPersisted agent model identifier.
output_tokens: i64Total output tokens accumulated for the session.
parent_session_id: Option<String>Parent session id when this row is a one-level stacked draft.
personality_id: Option<String>Workspace personality selected for future turns, when present.
project_id: Option<i64>Owning project identifier, when present.
published_upstream_ref: Option<String>Published upstream branch reference, when present.
reasoning_level_override: Option<String>Persisted session-specific reasoning override, when present.
review_request: Option<SessionReviewRequestRow>Joined forge review-request metadata, when present and complete.
role: Option<String>Persisted session role string, or None for the default worker role.
size: StringPersisted size bucket string.
speed_mode: StringPersisted session response-speed preference.
status: StringPersisted lifecycle status string.
title: Option<String>Optional display title.
updated_at: i64Last update timestamp in Unix seconds.
Auto Trait Implementations§
impl Freeze for SessionListRow
impl RefUnwindSafe for SessionListRow
impl Send for SessionListRow
impl Sync for SessionListRow
impl Unpin for SessionListRow
impl UnsafeUnpin for SessionListRow
impl UnwindSafe for SessionListRow
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
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