pub struct RemoteA2aConfig {
pub name: String,
pub description: String,
pub agent_url: String,
pub streaming: Option<bool>,
}Expand description
Configuration for a remote A2A agent
Fields§
§name: StringName of the agent
description: StringDescription of the agent
agent_url: StringBase URL of the remote agent (e.g., “http://localhost:8080”) The agent card will be fetched from {base_url}/.well-known/agent.json
streaming: Option<bool>Whether to use streaming for communication.
If None, the agent uses streaming if the remote agent supports it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RemoteA2aConfig
impl RefUnwindSafe for RemoteA2aConfig
impl Send for RemoteA2aConfig
impl Sync for RemoteA2aConfig
impl Unpin for RemoteA2aConfig
impl UnsafeUnpin for RemoteA2aConfig
impl UnwindSafe for RemoteA2aConfig
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