pub struct ToolSpec {
pub name: &'static str,
pub title: &'static str,
pub description: &'static str,
pub access: Access,
pub arguments: Arguments,
pub approval: ApprovalPolicy,
}Expand description
How a consumer lists a tool.
Fields§
§name: &'static strUnique within a product, such as github_read.
title: &'static str§description: &'static str§access: Access§arguments: Arguments§approval: ApprovalPolicyImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ToolSpec
impl Freeze for ToolSpec
impl Move for ToolSpec
impl RefUnwindSafe for ToolSpec
impl Send for ToolSpec
impl Sync for ToolSpec
impl Unpin for ToolSpec
impl UnsafeUnpin for ToolSpecwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Action>: UnsafeUnpin,
PhantomData<Field>: UnsafeUnpin,
impl UnwindSafe for ToolSpec
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