pub struct PartialSessionSummary {
pub resource: Option<Uri>,
pub provider: Option<String>,
pub title: Option<String>,
pub status: Option<u32>,
pub activity: Option<String>,
pub created_at: Option<i64>,
pub modified_at: Option<i64>,
pub project: Option<ProjectInfo>,
pub model: Option<ModelSelection>,
pub agent: Option<AgentSelection>,
pub working_directory: Option<Uri>,
pub changesets: Option<Vec<ChangesetSummary>>,
}Expand description
Partial equivalent of SessionSummary — every field is optional for delta updates.
Fields§
§resource: Option<Uri>Session URI
provider: Option<String>Agent provider ID
title: Option<String>Session title
status: Option<u32>Current session status
activity: Option<String>Human-readable description of what the session is currently doing
created_at: Option<i64>Creation timestamp
modified_at: Option<i64>Last 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 PartialSessionSummary
impl Clone for PartialSessionSummary
Source§fn clone(&self) -> PartialSessionSummary
fn clone(&self) -> PartialSessionSummary
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 PartialSessionSummary
impl Debug for PartialSessionSummary
Source§impl Default for PartialSessionSummary
impl Default for PartialSessionSummary
Source§fn default() -> PartialSessionSummary
fn default() -> PartialSessionSummary
Source§impl<'de> Deserialize<'de> for PartialSessionSummary
impl<'de> Deserialize<'de> for PartialSessionSummary
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 PartialSessionSummary
impl PartialEq for PartialSessionSummary
Source§fn eq(&self, other: &PartialSessionSummary) -> bool
fn eq(&self, other: &PartialSessionSummary) -> bool
self and other values to be equal, and is used by ==.