pub struct AgentRef {
pub id: AgentId,
/* private fields */
}Expand description
Public, type-erased handle to an agent. Implements Callable,
so an agent can be passed wherever any executable unit is
expected (workflow steps, team routing targets).
Fields§
§id: AgentIdImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentRef
impl !RefUnwindSafe for AgentRef
impl Send for AgentRef
impl Sync for AgentRef
impl Unpin for AgentRef
impl UnsafeUnpin for AgentRef
impl !UnwindSafe for AgentRef
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