pub struct ToolMeta {
pub id: &'static str,
pub name: &'static str,
pub category: Category,
pub description: &'static str,
pub keywords: &'static [&'static str],
}Expand description
Identity and search metadata for a tool.
Fields§
§id: &'static strStable id, used for persistence. Never change it once released.
name: &'static str§category: Category§description: &'static str§keywords: &'static [&'static str]Extra search terms that don’t appear in the name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolMeta
impl RefUnwindSafe for ToolMeta
impl Send for ToolMeta
impl Sync for ToolMeta
impl Unpin for ToolMeta
impl UnsafeUnpin for ToolMeta
impl UnwindSafe for ToolMeta
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