pub struct AgentInstanceState {
pub instance_id: String,
pub agent_name: String,
pub replica_index: u32,
pub status: AgentInstanceStatus,
pub current_task: Option<String>,
pub tasks_processed: u64,
pub last_activity: Option<DateTime<Utc>>,
}Expand description
Agent instance state
Fields§
§instance_id: StringInstance ID
agent_name: StringAgent name from fleet config
replica_index: u32Replica index
status: AgentInstanceStatusInstance status
current_task: Option<String>Current task (if any)
tasks_processed: u64Tasks processed count
last_activity: Option<DateTime<Utc>>Last activity timestamp
Trait Implementations§
Source§impl Clone for AgentInstanceState
impl Clone for AgentInstanceState
Source§fn clone(&self) -> AgentInstanceState
fn clone(&self) -> AgentInstanceState
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 AgentInstanceState
impl Debug for AgentInstanceState
Source§impl<'de> Deserialize<'de> for AgentInstanceState
impl<'de> Deserialize<'de> for AgentInstanceState
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 AgentInstanceState
impl RefUnwindSafe for AgentInstanceState
impl Send for AgentInstanceState
impl Sync for AgentInstanceState
impl Unpin for AgentInstanceState
impl UnwindSafe for AgentInstanceState
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