pub struct McpApprovalResponseBuilder(/* private fields */);Expand description
Builder for McpApprovalResponse.
Implementations§
Source§impl McpApprovalResponseBuilder
impl McpApprovalResponseBuilder
pub fn agent(self, value: impl Into<Option<Agent>>) -> Self
pub fn id(self, value: impl Into<Option<String>>) -> Self
pub fn reason(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> McpApprovalResponse
pub fn build(self) -> McpApprovalResponse
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for McpApprovalResponseBuilder
impl RefUnwindSafe for McpApprovalResponseBuilder
impl Send for McpApprovalResponseBuilder
impl Sync for McpApprovalResponseBuilder
impl Unpin for McpApprovalResponseBuilder
impl UnsafeUnpin for McpApprovalResponseBuilder
impl UnwindSafe for McpApprovalResponseBuilder
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