pub struct McpCallBuilder(/* private fields */);Expand description
Builder for McpCall.
Implementations§
Source§impl McpCallBuilder
impl McpCallBuilder
pub fn agent(self, value: impl Into<Option<Agent>>) -> Self
pub fn approval_request_id(self, value: impl Into<Option<String>>) -> Self
pub fn error(self, value: impl Into<Option<McpToolCallError>>) -> Self
pub fn output(self, value: impl Into<Option<String>>) -> Self
pub fn status(self, value: impl Into<McpCallStatus>) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for McpCallBuilder
impl RefUnwindSafe for McpCallBuilder
impl Send for McpCallBuilder
impl Sync for McpCallBuilder
impl Unpin for McpCallBuilder
impl UnsafeUnpin for McpCallBuilder
impl UnwindSafe for McpCallBuilder
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