pub struct AgentCardBuilder { /* private fields */ }Implementations§
Source§impl AgentCardBuilder
impl AgentCardBuilder
pub fn new( name: String, description: String, url: String, version: String, ) -> AgentCardBuilder
pub fn with_mcp_skills( self, mcp_servers: Vec<(String, String, String, Vec<String>)>, ) -> AgentCardBuilder
pub const fn with_streaming(self) -> AgentCardBuilder
pub const fn with_push_notifications(self) -> AgentCardBuilder
pub fn with_provider( self, organization: String, url: String, ) -> AgentCardBuilder
pub fn with_oauth2_security( self, authorization_url: String, token_url: String, scopes: HashMap<String, String>, ) -> AgentCardBuilder
pub fn build(self) -> AgentCard
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentCardBuilder
impl RefUnwindSafe for AgentCardBuilder
impl Send for AgentCardBuilder
impl Sync for AgentCardBuilder
impl Unpin for AgentCardBuilder
impl UnwindSafe for AgentCardBuilder
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> 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