pub struct SessionSummary {
pub resource: Uri,
pub provider: String,
pub title: String,
pub status: u32,
pub activity: Option<String>,
pub created_at: i64,
pub modified_at: i64,
pub project: Option<ProjectInfo>,
pub model: Option<ModelSelection>,
pub agent: Option<AgentSelection>,
pub working_directory: Option<Uri>,
pub changesets: Option<Vec<ChangesetSummary>>,
}Fields§
§resource: UriSession URI
provider: StringAgent provider ID
title: StringSession title
status: u32Current session status
activity: Option<String>Human-readable description of what the session is currently doing
created_at: i64Creation timestamp
modified_at: i64Last modification timestamp
project: Option<ProjectInfo>Server-owned project for this session
model: Option<ModelSelection>Currently selected model
agent: Option<AgentSelection>Currently selected custom agent.
Absent (undefined) means no custom agent is selected for this session
— the session uses the provider’s default behavior.
working_directory: Option<Uri>The working directory URI for this session
changesets: Option<Vec<ChangesetSummary>>Catalogue of changesets the server can produce for this session. Each entry advertises a subscribable view of file changes (uncommitted, session-wide, per-turn, etc.) and the URI template the client expands before subscribing. See {@link ChangesetSummary} for the full shape and {@link /guide/changesets | Changesets} for an overview of the model.
Trait Implementations§
Source§impl Clone for SessionSummary
impl Clone for SessionSummary
Source§fn clone(&self) -> SessionSummary
fn clone(&self) -> SessionSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionSummary
impl Debug for SessionSummary
Source§impl<'de> Deserialize<'de> for SessionSummary
impl<'de> Deserialize<'de> for SessionSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SessionSummary
impl PartialEq for SessionSummary
Source§fn eq(&self, other: &SessionSummary) -> bool
fn eq(&self, other: &SessionSummary) -> bool
self and other values to be equal, and is used by ==.