pub struct AgentState {Show 13 fields
pub model: Option<Model>,
pub thinking_level: String,
pub is_streaming: bool,
pub is_compacting: bool,
pub steering_mode: String,
pub follow_up_mode: String,
pub session_file: Option<String>,
pub session_id: String,
pub session_name: Option<String>,
pub auto_compaction_enabled: bool,
pub message_count: i64,
pub pending_message_count: i64,
pub extra: Map<String, Value>,
}Expand description
Typed view of get_state response data.
Fields§
§model: Option<Model>None when no provider resolved; may also be a placeholder with
id: "unknown" — see Model.
thinking_level: String§is_streaming: bool§is_compacting: bool§steering_mode: String§follow_up_mode: String§session_file: Option<String>§session_id: String§session_name: Option<String>§auto_compaction_enabled: bool§message_count: i64§pending_message_count: i64§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for AgentState
impl Clone for AgentState
Source§impl Debug for AgentState
impl Debug for AgentState
Source§impl Default for AgentState
impl Default for AgentState
Source§impl<'de> Deserialize<'de> for AgentState
impl<'de> Deserialize<'de> for AgentState
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 AgentState
impl PartialEq for AgentState
Source§impl Serialize for AgentState
impl Serialize for AgentState
impl StructuralPartialEq for AgentState
Auto Trait Implementations§
impl Freeze for AgentState
impl RefUnwindSafe for AgentState
impl Send for AgentState
impl Sync for AgentState
impl Unpin for AgentState
impl UnsafeUnpin for AgentState
impl UnwindSafe for AgentState
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