pub struct AgentCardConfig {Show 15 fields
pub protocol_version: String,
pub name: Option<String>,
pub display_name: String,
pub description: String,
pub version: String,
pub preferred_transport: String,
pub icon_url: Option<String>,
pub documentation_url: Option<String>,
pub provider: Option<AgentProviderInfo>,
pub capabilities: CapabilitiesConfig,
pub default_input_modes: Vec<String>,
pub default_output_modes: Vec<String>,
pub security_schemes: Option<Value>,
pub security: Option<Vec<Value>>,
pub supports_authenticated_extended_card: bool,
}Fields§
§protocol_version: String§name: Option<String>§display_name: String§description: String§version: String§preferred_transport: String§icon_url: Option<String>§documentation_url: Option<String>§provider: Option<AgentProviderInfo>§capabilities: CapabilitiesConfig§default_input_modes: Vec<String>§default_output_modes: Vec<String>§security_schemes: Option<Value>§security: Option<Vec<Value>>§supports_authenticated_extended_card: boolTrait Implementations§
Source§impl Clone for AgentCardConfig
impl Clone for AgentCardConfig
Source§fn clone(&self) -> AgentCardConfig
fn clone(&self) -> AgentCardConfig
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 AgentCardConfig
impl Debug for AgentCardConfig
Source§impl<'de> Deserialize<'de> for AgentCardConfig
impl<'de> Deserialize<'de> for AgentCardConfig
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
Auto Trait Implementations§
impl Freeze for AgentCardConfig
impl RefUnwindSafe for AgentCardConfig
impl Send for AgentCardConfig
impl Sync for AgentCardConfig
impl Unpin for AgentCardConfig
impl UnsafeUnpin for AgentCardConfig
impl UnwindSafe for AgentCardConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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