pub struct StatusMessage {
pub session_id: String,
pub status: Option<StatusMessageStatus>,
pub uuid: Option<String>,
pub permission_mode: Option<InitPermissionMode>,
pub compact_result: Option<String>,
pub compact_error: Option<String>,
pub compact_output_chars: Option<u64>,
}Expand description
Status system message - sent during operations like context compaction
Fields§
§session_id: StringSession identifier
status: Option<StatusMessageStatus>Current status (e.g., compacting) or null when complete
uuid: Option<String>Unique identifier for this message
permission_mode: Option<InitPermissionMode>Current permission mode when changed mid-session.
compact_result: Option<String>§compact_error: Option<String>§compact_output_chars: Option<u64>On the compacting statuses of an automatic compaction (absent on a
typed /compact): characters of the summary streamed so far (text
and tool-input deltas, not thinking). Returns to 0 at each new attempt
and stays 0 while a background summary is awaited. A rising count
shows progress; it is not a share of the final length. Absent from
CLIs before 2.1.295. Marked @internal upstream.
Trait Implementations§
Source§impl Clone for StatusMessage
impl Clone for StatusMessage
Source§impl Debug for StatusMessage
impl Debug for StatusMessage
Source§impl<'de> Deserialize<'de> for StatusMessage
impl<'de> Deserialize<'de> for StatusMessage
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
Auto Trait Implementations§
impl Freeze for StatusMessage
impl RefUnwindSafe for StatusMessage
impl Send for StatusMessage
impl Sync for StatusMessage
impl Unpin for StatusMessage
impl UnsafeUnpin for StatusMessage
impl UnwindSafe for StatusMessage
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