pub struct McpApprovalRequestOutput {
pub arguments: String,
pub id: String,
pub name: String,
pub server_label: String,
}
Expand description
Output representing a human approval request for an MCP tool.
Fields§
§arguments: String
JSON string of arguments for the tool.
id: String
Unique ID of the approval request.
name: String
Name of the tool requiring approval.
server_label: String
Label of the MCP server making the request.
Trait Implementations§
Source§impl Clone for McpApprovalRequestOutput
impl Clone for McpApprovalRequestOutput
Source§fn clone(&self) -> McpApprovalRequestOutput
fn clone(&self) -> McpApprovalRequestOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 McpApprovalRequestOutput
impl Debug for McpApprovalRequestOutput
Source§impl<'de> Deserialize<'de> for McpApprovalRequestOutput
impl<'de> Deserialize<'de> for McpApprovalRequestOutput
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
Source§impl PartialEq for McpApprovalRequestOutput
impl PartialEq for McpApprovalRequestOutput
Source§impl Serialize for McpApprovalRequestOutput
impl Serialize for McpApprovalRequestOutput
impl StructuralPartialEq for McpApprovalRequestOutput
Auto Trait Implementations§
impl Freeze for McpApprovalRequestOutput
impl RefUnwindSafe for McpApprovalRequestOutput
impl Send for McpApprovalRequestOutput
impl Sync for McpApprovalRequestOutput
impl Unpin for McpApprovalRequestOutput
impl UnwindSafe for McpApprovalRequestOutput
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