pub struct A2AClientConfig {
pub profile_id: String,
pub agent_card_url: String,
pub rpc_url_override: Option<String>,
pub auth: A2AAuth,
pub tenant: Option<String>,
pub request_timeout: Duration,
pub protocol_version: String,
pub extensions: Vec<String>,
}Fields§
§profile_id: StringStable Bamboo-side profile id, e.g. “remote-impl”.
agent_card_url: StringAgent Card discovery URL.
rpc_url_override: Option<String>Optional RPC URL override. If absent, pick first JSONRPC interface from Agent Card.
auth: A2AAuthAuthentication material.
tenant: Option<String>Optional tenant header/path param.
request_timeout: DurationRequest timeout for non-streaming calls.
protocol_version: StringOptional A2A-Version header. For v1.0 use “1.0”.
extensions: Vec<String>Optional required extensions to advertise via A2A-Extensions header.
Trait Implementations§
Source§impl Clone for A2AClientConfig
impl Clone for A2AClientConfig
Source§fn clone(&self) -> A2AClientConfig
fn clone(&self) -> A2AClientConfig
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 A2AClientConfig
impl RefUnwindSafe for A2AClientConfig
impl Send for A2AClientConfig
impl Sync for A2AClientConfig
impl Unpin for A2AClientConfig
impl UnsafeUnpin for A2AClientConfig
impl UnwindSafe for A2AClientConfig
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