pub struct UserToolSessionApprovalCustomTool {
pub kind: UserToolSessionApprovalCustomToolKind,
pub tool_name: String,
}Expand description
Session-scoped tool-approval rule for a custom tool, keyed by tool name.
Fields§
§kind: UserToolSessionApprovalCustomToolKindCustom tool approval kind
tool_name: StringCustom tool name
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserToolSessionApprovalCustomTool
impl<'de> Deserialize<'de> for UserToolSessionApprovalCustomTool
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 UserToolSessionApprovalCustomTool
impl RefUnwindSafe for UserToolSessionApprovalCustomTool
impl Send for UserToolSessionApprovalCustomTool
impl Sync for UserToolSessionApprovalCustomTool
impl Unpin for UserToolSessionApprovalCustomTool
impl UnsafeUnpin for UserToolSessionApprovalCustomTool
impl UnwindSafe for UserToolSessionApprovalCustomTool
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