pub enum AgentTarget {
Explicit(String),
Auto,
}Expand description
Specifies which agent to invoke as a tool.
Variants§
Explicit(String)
Explicit agent URI, e.g. "jamjet://org/classifier-agent".
Auto
Auto-resolve via the coordinator at compile time.
Trait Implementations§
Source§impl Clone for AgentTarget
impl Clone for AgentTarget
Source§fn clone(&self) -> AgentTarget
fn clone(&self) -> AgentTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentTarget
impl Debug for AgentTarget
Source§impl<'de> Deserialize<'de> for AgentTarget
impl<'de> Deserialize<'de> for AgentTarget
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 AgentTarget
impl RefUnwindSafe for AgentTarget
impl Send for AgentTarget
impl Sync for AgentTarget
impl Unpin for AgentTarget
impl UnsafeUnpin for AgentTarget
impl UnwindSafe for AgentTarget
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