pub struct PartialChatSummary {
pub resource: Option<Uri>,
pub title: Option<String>,
pub status: Option<u32>,
pub activity: Option<String>,
pub modified_at: Option<String>,
pub origin: Option<ChatOrigin>,
pub interactivity: Option<ChatInteractivity>,
pub working_directory: Option<Uri>,
}Expand description
Partial equivalent of ChatSummary — every field is optional for delta updates.
Fields§
§resource: Option<Uri>Chat URI
title: Option<String>Chat title
status: Option<u32>Current chat status (reuses SessionStatus shape)
activity: Option<String>Human-readable description of what the chat is currently doing
modified_at: Option<String>Last modification timestamp (ISO 8601, e.g. "2025-03-10T18:42:03.123Z")
origin: Option<ChatOrigin>How this chat came into existence
interactivity: Option<ChatInteractivity>How the user can interact with this chat. See {@link ChatInteractivity}.
Supports agent-team patterns where worker chats are read-only or hidden. Absence defaults to {@link ChatInteractivity.Full} for backward compatibility.
working_directory: Option<Uri>Optional per-chat working directory.
If absent, the chat inherits {@link SessionSummary.workingDirectory | the session’s working directory}. See {@link ChatState.workingDirectory} for usage notes.
Trait Implementations§
Source§impl Clone for PartialChatSummary
impl Clone for PartialChatSummary
Source§fn clone(&self) -> PartialChatSummary
fn clone(&self) -> PartialChatSummary
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 PartialChatSummary
impl Debug for PartialChatSummary
Source§impl Default for PartialChatSummary
impl Default for PartialChatSummary
Source§fn default() -> PartialChatSummary
fn default() -> PartialChatSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartialChatSummary
impl<'de> Deserialize<'de> for PartialChatSummary
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 PartialChatSummary
impl PartialEq for PartialChatSummary
Source§fn eq(&self, other: &PartialChatSummary) -> bool
fn eq(&self, other: &PartialChatSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PartialChatSummary
impl Serialize for PartialChatSummary
impl StructuralPartialEq for PartialChatSummary
Auto Trait Implementations§
impl Freeze for PartialChatSummary
impl RefUnwindSafe for PartialChatSummary
impl Send for PartialChatSummary
impl Sync for PartialChatSummary
impl Unpin for PartialChatSummary
impl UnsafeUnpin for PartialChatSummary
impl UnwindSafe for PartialChatSummary
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