pub struct RemoteAgentInfo {
pub session_id: String,
pub model: String,
pub is_busy: bool,
pub parent_id: Option<String>,
pub working_directory: String,
pub message_count: usize,
pub last_activity: i64,
pub status: String,
pub name: Option<String>,
}Expand description
Information about a remote agent
Fields§
§session_id: StringUnique session ID of the agent
model: StringAI model being used (e.g., “claude-3-5-sonnet”)
is_busy: boolWhether the agent is currently processing
parent_id: Option<String>Parent agent ID (if this is a child agent)
working_directory: StringWorking directory of the agent
message_count: usizeNumber of messages in conversation
last_activity: i64Unix timestamp of last activity
status: StringCurrent status description
name: Option<String>Agent name (if set)
Trait Implementations§
Source§impl Clone for RemoteAgentInfo
impl Clone for RemoteAgentInfo
Source§fn clone(&self) -> RemoteAgentInfo
fn clone(&self) -> RemoteAgentInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 RemoteAgentInfo
impl Debug for RemoteAgentInfo
Source§impl<'de> Deserialize<'de> for RemoteAgentInfo
impl<'de> Deserialize<'de> for RemoteAgentInfo
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 From<AgentMetadata> for RemoteAgentInfo
Convert from IPC AgentMetadata to Remote AgentInfo
impl From<AgentMetadata> for RemoteAgentInfo
Convert from IPC AgentMetadata to Remote AgentInfo
Source§fn from(meta: AgentMetadata) -> Self
fn from(meta: AgentMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RemoteAgentInfo
impl RefUnwindSafe for RemoteAgentInfo
impl Send for RemoteAgentInfo
impl Sync for RemoteAgentInfo
impl Unpin for RemoteAgentInfo
impl UnsafeUnpin for RemoteAgentInfo
impl UnwindSafe for RemoteAgentInfo
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