pub struct SessionListStats {
pub added_lines: u64,
pub base_ahead_behind: Option<(u32, u32)>,
pub deleted_lines: u64,
pub has_merge_conflict: bool,
pub in_progress_started_at: Option<i64>,
pub in_progress_total_seconds: i64,
pub is_published: bool,
pub model: AgentModel,
pub reasoning_level: ReasoningLevel,
pub review_request: Option<ReviewRequestSummary>,
pub size_label: String,
pub upstream_ahead_behind: Option<(u32, u32)>,
}Expand description
Figures a dense session list shows beside one session.
Fields§
§added_lines: u64Lines the session’s diff adds.
base_ahead_behind: Option<(u32, u32)>Commits the session branch is ahead of and behind its base branch,
in that order, as of the host’s latest check; None before one.
deleted_lines: u64Lines the session’s diff removes.
has_merge_conflict: boolWhether merging the session branch into its base would conflict, as of the host’s latest check.
in_progress_started_at: Option<i64>Start of the current active-work interval in Unix seconds, while the
session accumulates InProgress time.
in_progress_total_seconds: i64Active-work seconds completed before the current interval.
is_published: boolWhether the session branch was published to an upstream branch.
model: AgentModelModel the session runs on.
reasoning_level: ReasoningLevelReasoning level of the session’s next turn.
review_request: Option<ReviewRequestSummary>Linked review request as of the latest forge refresh.
size_label: StringHost size bucket of the diff, such as XS or XXL.
upstream_ahead_behind: Option<(u32, u32)>Commits the session branch is ahead of and behind the upstream
branch it tracks, in that order, as of the host’s latest fetch;
None when it tracks none or before the host compared them.
Trait Implementations§
Source§impl Clone for SessionListStats
impl Clone for SessionListStats
Source§impl Debug for SessionListStats
impl Debug for SessionListStats
impl Eq for SessionListStats
Source§impl PartialEq for SessionListStats
impl PartialEq for SessionListStats
impl StructuralPartialEq for SessionListStats
Auto Trait Implementations§
impl Forget for SessionListStats
impl Freeze for SessionListStats
impl Move for SessionListStats
impl RefUnwindSafe for SessionListStats
impl Send for SessionListStats
impl Sync for SessionListStats
impl Unpin for SessionListStats
impl UnsafeUnpin for SessionListStats
impl UnwindSafe for SessionListStats
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.