pub struct PermissionPromptRequestCustomTool {
pub args: Option<Value>,
pub kind: PermissionPromptRequestCustomToolKind,
pub tool_call_id: Option<String>,
pub tool_description: String,
pub tool_name: String,
}Expand description
Custom tool invocation permission prompt
Fields§
§args: Option<Value>Arguments to pass to the custom tool
kind: PermissionPromptRequestCustomToolKindPrompt kind discriminator
tool_call_id: Option<String>Tool call ID that triggered this permission request
tool_description: StringDescription of what the custom tool does
tool_name: StringName of the custom tool
Trait Implementations§
Source§impl Clone for PermissionPromptRequestCustomTool
impl Clone for PermissionPromptRequestCustomTool
Source§fn clone(&self) -> PermissionPromptRequestCustomTool
fn clone(&self) -> PermissionPromptRequestCustomTool
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<'de> Deserialize<'de> for PermissionPromptRequestCustomTool
impl<'de> Deserialize<'de> for PermissionPromptRequestCustomTool
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 PermissionPromptRequestCustomTool
impl RefUnwindSafe for PermissionPromptRequestCustomTool
impl Send for PermissionPromptRequestCustomTool
impl Sync for PermissionPromptRequestCustomTool
impl Unpin for PermissionPromptRequestCustomTool
impl UnsafeUnpin for PermissionPromptRequestCustomTool
impl UnwindSafe for PermissionPromptRequestCustomTool
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