pub struct AgentCardBuilder { /* private fields */ }Implementations§
Source§impl AgentCardBuilder
impl AgentCardBuilder
pub fn new( name: impl Into<String>, url: impl Into<String>, version: impl Into<String>, ) -> Self
pub fn description(self, desc: impl Into<String>) -> Self
pub fn streaming(self, enabled: bool) -> Self
pub fn push_notifications(self, enabled: bool) -> Self
pub fn skill(self, skill: AgentSkill) -> Self
pub fn provider( self, org: impl Into<String>, url: impl Into<Option<String>>, ) -> Self
pub fn default_input_modes(self, modes: Vec<String>) -> Self
pub fn default_output_modes(self, modes: Vec<String>) -> Self
pub fn build(self) -> AgentCard
Auto Trait Implementations§
impl Freeze for AgentCardBuilder
impl RefUnwindSafe for AgentCardBuilder
impl Send for AgentCardBuilder
impl Sync for AgentCardBuilder
impl Unpin for AgentCardBuilder
impl UnsafeUnpin 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