pub enum AgentIdentity {
Main,
Subagent(SubagentIdentity),
}Expand description
The agent making a tool call.
Variants§
Trait Implementations§
Source§impl Clone for AgentIdentity
impl Clone for AgentIdentity
Source§impl Debug for AgentIdentity
impl Debug for AgentIdentity
impl Eq for AgentIdentity
Source§impl Hash for AgentIdentity
impl Hash for AgentIdentity
Source§impl PartialEq for AgentIdentity
impl PartialEq for AgentIdentity
impl StructuralPartialEq for AgentIdentity
Auto Trait Implementations§
impl Freeze for AgentIdentity
impl RefUnwindSafe for AgentIdentity
impl Send for AgentIdentity
impl Sync for AgentIdentity
impl Unpin for AgentIdentity
impl UnsafeUnpin for AgentIdentity
impl UnwindSafe for AgentIdentity
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