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 changes: Option<ChangesSummary>,
}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
changes: Option<ChangesSummary>Aggregate summary of file changes associated with this session. Servers may populate this to give clients a quick at-a-glance view of the session’s footprint (e.g., for list rendering) without requiring the client to subscribe to a changeset.
Trait Implementations§
Source§impl Clone for SessionSummary
impl Clone for SessionSummary
Source§fn clone(&self) -> SessionSummary
fn clone(&self) -> SessionSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SessionSummary
impl PartialEq for SessionSummary
Source§fn eq(&self, other: &SessionSummary) -> bool
fn eq(&self, other: &SessionSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionSummary
impl Serialize for SessionSummary
impl StructuralPartialEq for SessionSummary
Auto Trait Implementations§
impl Freeze for SessionSummary
impl RefUnwindSafe for SessionSummary
impl Send for SessionSummary
impl Sync for SessionSummary
impl Unpin for SessionSummary
impl UnsafeUnpin for SessionSummary
impl UnwindSafe for SessionSummary
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