pub struct AgentNode {
pub agent_id: String,
pub agent_instance_id: String,
pub agent_name: String,
pub agent_role: Option<String>,
pub host_id: String,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub status: Option<String>,
pub depth: u32,
pub tool_calls: u32,
}Expand description
A node in the agent graph representing one agent instance.
Fields§
§agent_id: String§agent_instance_id: String§agent_name: String§agent_role: Option<String>§host_id: String§started_at: Option<String>§completed_at: Option<String>§status: Option<String>§depth: u32§tool_calls: u32Number of tool calls made by this agent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentNode
impl<'de> Deserialize<'de> for AgentNode
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 AgentNode
impl RefUnwindSafe for AgentNode
impl Send for AgentNode
impl Sync for AgentNode
impl Unpin for AgentNode
impl UnsafeUnpin for AgentNode
impl UnwindSafe for AgentNode
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