pub struct PermissionPromptRequestMcp {
pub args: Option<Value>,
pub kind: PermissionPromptRequestMcpKind,
pub server_name: String,
pub tool_call_id: Option<String>,
pub tool_name: String,
pub tool_title: String,
}Expand description
MCP tool invocation permission prompt
Fields§
§args: Option<Value>Arguments to pass to the MCP tool
kind: PermissionPromptRequestMcpKindPrompt kind discriminator
server_name: StringName of the MCP server providing the tool
tool_call_id: Option<String>Tool call ID that triggered this permission request
tool_name: StringInternal name of the MCP tool
tool_title: StringHuman-readable title of the MCP tool
Trait Implementations§
Source§impl Clone for PermissionPromptRequestMcp
impl Clone for PermissionPromptRequestMcp
Source§fn clone(&self) -> PermissionPromptRequestMcp
fn clone(&self) -> PermissionPromptRequestMcp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PermissionPromptRequestMcp
impl Debug for PermissionPromptRequestMcp
Source§impl<'de> Deserialize<'de> for PermissionPromptRequestMcp
impl<'de> Deserialize<'de> for PermissionPromptRequestMcp
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
Auto Trait Implementations§
impl Freeze for PermissionPromptRequestMcp
impl RefUnwindSafe for PermissionPromptRequestMcp
impl Send for PermissionPromptRequestMcp
impl Sync for PermissionPromptRequestMcp
impl Unpin for PermissionPromptRequestMcp
impl UnsafeUnpin for PermissionPromptRequestMcp
impl UnwindSafe for PermissionPromptRequestMcp
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