pub struct RemoteA2aV1Config {
pub name: String,
pub description: String,
pub agent_card: AgentCard,
pub streaming: Option<bool>,
}Available on crate features
a2a-v1 and server only.Expand description
Configuration for a v1.0.0 remote A2A agent.
Fields§
§name: StringName of the agent.
description: StringDescription of the agent.
agent_card: AgentCardThe v1.0.0 agent card describing the remote agent.
streaming: Option<bool>Whether to use streaming for communication.
If None, auto-detects from the agent card capabilities.
Trait Implementations§
Source§impl Clone for RemoteA2aV1Config
impl Clone for RemoteA2aV1Config
Source§fn clone(&self) -> RemoteA2aV1Config
fn clone(&self) -> RemoteA2aV1Config
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 moreAuto Trait Implementations§
impl Freeze for RemoteA2aV1Config
impl RefUnwindSafe for RemoteA2aV1Config
impl Send for RemoteA2aV1Config
impl Sync for RemoteA2aV1Config
impl Unpin for RemoteA2aV1Config
impl UnsafeUnpin for RemoteA2aV1Config
impl UnwindSafe for RemoteA2aV1Config
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