pub struct SkillToolGrant {
pub skill: String,
pub provider: String,
pub tool: String,
pub ask: bool,
}Expand description
A tool the owner granted to a skill.
Fields§
§skill: StringThe skill the grant belongs to.
provider: StringTool provider in the crate::tool::ToolRegistry.
tool: StringTool name, or * for every tool of the provider.
ask: boolWhether each call waits for approval first. true unless the owner
chose otherwise.
Trait Implementations§
Source§impl Clone for SkillToolGrant
impl Clone for SkillToolGrant
Source§impl Debug for SkillToolGrant
impl Debug for SkillToolGrant
impl Eq for SkillToolGrant
Source§impl PartialEq for SkillToolGrant
impl PartialEq for SkillToolGrant
impl StructuralPartialEq for SkillToolGrant
Auto Trait Implementations§
impl Forget for SkillToolGrant
impl Freeze for SkillToolGrant
impl Move for SkillToolGrant
impl RefUnwindSafe for SkillToolGrant
impl Send for SkillToolGrant
impl Sync for SkillToolGrant
impl Unpin for SkillToolGrant
impl UnsafeUnpin for SkillToolGrant
impl UnwindSafe for SkillToolGrant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.