pub struct AgentInstance {
pub id: String,
pub name: String,
pub definition: AgentDefinition,
pub status: AgentStatus,
pub inbox: Vec<AgentMessage>,
}Expand description
A running agent instance.
Fields§
§id: StringUnique instance ID.
name: StringHuman-readable name.
definition: AgentDefinitionAgent type definition.
status: AgentStatusCurrent status.
inbox: Vec<AgentMessage>Messages received from other agents.
Trait Implementations§
Source§impl Clone for AgentInstance
impl Clone for AgentInstance
Source§fn clone(&self) -> AgentInstance
fn clone(&self) -> AgentInstance
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 moreAuto Trait Implementations§
impl Freeze for AgentInstance
impl RefUnwindSafe for AgentInstance
impl Send for AgentInstance
impl Sync for AgentInstance
impl Unpin for AgentInstance
impl UnsafeUnpin for AgentInstance
impl UnwindSafe for AgentInstance
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