pub struct ExternalAgent {
pub name: String,
pub url: String,
pub token: Option<Secret<String>>,
pub version: Version,
pub description: String,
pub skills: Vec<String>,
}Expand description
An A2A agent this bot may delegate to.
Fields§
§name: StringIts name here.
url: StringIts JSON-RPC endpoint.
token: Option<Secret<String>>The bearer token it expects.
version: VersionThe A2A version it speaks.
description: StringWhat it does.
skills: Vec<String>Skills.
Trait Implementations§
Source§impl Clone for ExternalAgent
impl Clone for ExternalAgent
Auto Trait Implementations§
impl Freeze for ExternalAgent
impl RefUnwindSafe for ExternalAgent
impl Send for ExternalAgent
impl Sync for ExternalAgent
impl Unpin for ExternalAgent
impl UnsafeUnpin for ExternalAgent
impl UnwindSafe for ExternalAgent
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