pub struct A2AOptions {Show 14 fields
pub version: String,
pub url: String,
pub provider: Option<A2AProvider>,
pub capabilities: Option<A2ACapabilities>,
pub security_schemes: Option<SecuritySchemes>,
pub security: Option<Vec<SecurityRequirement>>,
pub default_input_modes: Option<Vec<String>>,
pub default_output_modes: Option<Vec<String>>,
pub skills: Option<Vec<AgentSkill>>,
pub supported_interfaces: Option<Vec<AgentInterface>>,
pub icon_url: Option<String>,
pub documentation_url: Option<String>,
pub signatures: Option<Vec<JwsSignature>>,
pub extensions: Option<Vec<AgentExtension>>,
}Expand description
A2A-specific options for generating an ERC-8004 + A2A hybrid document.
Fields§
§version: String§url: String§provider: Option<A2AProvider>§capabilities: Option<A2ACapabilities>§security_schemes: Option<SecuritySchemes>§security: Option<Vec<SecurityRequirement>>§default_input_modes: Option<Vec<String>>§default_output_modes: Option<Vec<String>>§skills: Option<Vec<AgentSkill>>§supported_interfaces: Option<Vec<AgentInterface>>§icon_url: Option<String>§documentation_url: Option<String>§signatures: Option<Vec<JwsSignature>>§extensions: Option<Vec<AgentExtension>>Trait Implementations§
Source§impl Clone for A2AOptions
impl Clone for A2AOptions
Source§fn clone(&self) -> A2AOptions
fn clone(&self) -> A2AOptions
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 moreAuto Trait Implementations§
impl Freeze for A2AOptions
impl RefUnwindSafe for A2AOptions
impl Send for A2AOptions
impl Sync for A2AOptions
impl Unpin for A2AOptions
impl UnsafeUnpin for A2AOptions
impl UnwindSafe for A2AOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more