pub struct A2AArguments {
pub agent_card: Option<ExternalResourceDefinition>,
pub server: Option<OneOfEndpointDefinitionOrUri>,
pub method: String,
pub parameters: Option<OneOfA2AParametersOrExpression>,
}Expand description
Represents the A2A call arguments
Fields§
§agent_card: Option<ExternalResourceDefinition>Gets/sets the Agent Card that defines the agent to call
server: Option<OneOfEndpointDefinitionOrUri>Gets/sets the server endpoint to send the request to
method: StringGets/sets the A2A method to send
parameters: Option<OneOfA2AParametersOrExpression>Gets/sets the parameters object to send with the A2A method
Trait Implementations§
Source§impl Clone for A2AArguments
impl Clone for A2AArguments
Source§fn clone(&self) -> A2AArguments
fn clone(&self) -> A2AArguments
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 A2AArguments
impl Debug for A2AArguments
Source§impl Default for A2AArguments
impl Default for A2AArguments
Source§fn default() -> A2AArguments
fn default() -> A2AArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for A2AArguments
impl<'de> Deserialize<'de> for A2AArguments
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 A2AArguments
impl PartialEq for A2AArguments
Source§fn eq(&self, other: &A2AArguments) -> bool
fn eq(&self, other: &A2AArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for A2AArguments
impl Serialize for A2AArguments
impl StructuralPartialEq for A2AArguments
Auto Trait Implementations§
impl Freeze for A2AArguments
impl RefUnwindSafe for A2AArguments
impl Send for A2AArguments
impl Sync for A2AArguments
impl Unpin for A2AArguments
impl UnsafeUnpin for A2AArguments
impl UnwindSafe for A2AArguments
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