pub struct A2aPeerFile {
pub name: String,
pub endpoint: String,
pub headers: BTreeMap<String, String>,
pub client_cert: Option<String>,
pub client_key: Option<String>,
}Expand description
One A2A peer — maps to --a2a-peer name=endpoint.
Fields§
§name: String§endpoint: String§headers: BTreeMap<String, String>Secret-free auth header templates presented TO the peer (bearer leg),
e.g. "authorization": "Bearer {{secret:PEER_TOKEN}}".
client_cert: Option<String>Client-certificate PEM file paths for mutual TLS to the peer (both or neither).
client_key: Option<String>Trait Implementations§
Source§impl Clone for A2aPeerFile
impl Clone for A2aPeerFile
Source§fn clone(&self) -> A2aPeerFile
fn clone(&self) -> A2aPeerFile
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 moreSource§impl Debug for A2aPeerFile
impl Debug for A2aPeerFile
Source§impl Default for A2aPeerFile
impl Default for A2aPeerFile
Source§fn default() -> A2aPeerFile
fn default() -> A2aPeerFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for A2aPeerFile
impl<'de> Deserialize<'de> for A2aPeerFile
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
Source§impl PartialEq for A2aPeerFile
impl PartialEq for A2aPeerFile
impl StructuralPartialEq for A2aPeerFile
Auto Trait Implementations§
impl Freeze for A2aPeerFile
impl RefUnwindSafe for A2aPeerFile
impl Send for A2aPeerFile
impl Sync for A2aPeerFile
impl Unpin for A2aPeerFile
impl UnsafeUnpin for A2aPeerFile
impl UnwindSafe for A2aPeerFile
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