pub struct RemoteAgentTarget {
pub url: String,
pub name: Option<String>,
pub auth_token: Option<String>,
pub capabilities: Vec<String>,
}Expand description
Remote target details for delegated work that may execute via A2A.
Fields§
§url: StringRemote agent base URL.
name: Option<String>Optional remote agent display name.
auth_token: Option<String>Optional bearer token for authenticated remote calls.
capabilities: Vec<String>Capability tags requested from the remote agent.
Trait Implementations§
Source§impl Clone for RemoteAgentTarget
impl Clone for RemoteAgentTarget
Source§fn clone(&self) -> RemoteAgentTarget
fn clone(&self) -> RemoteAgentTarget
Returns a duplicate of the value. Read more
1.0.0 · 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 RemoteAgentTarget
impl Debug for RemoteAgentTarget
Source§impl Default for RemoteAgentTarget
impl Default for RemoteAgentTarget
Source§fn default() -> RemoteAgentTarget
fn default() -> RemoteAgentTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteAgentTarget
impl<'de> Deserialize<'de> for RemoteAgentTarget
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 RemoteAgentTarget
impl RefUnwindSafe for RemoteAgentTarget
impl Send for RemoteAgentTarget
impl Sync for RemoteAgentTarget
impl Unpin for RemoteAgentTarget
impl UnwindSafe for RemoteAgentTarget
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