pub struct LoadedSkill {
pub file: SkillFile,
pub scope: SkillScope,
pub namespace: Option<String>,
}Expand description
Loaded skill with scope information.
Fields§
§file: SkillFileThe parsed skill file.
scope: SkillScopeScope level of the skill.
namespace: Option<String>For plugins, the plugin name prefix.
Implementations§
Source§impl LoadedSkill
impl LoadedSkill
Sourcepub fn qualified_name(&self) -> String
pub fn qualified_name(&self) -> String
Get the fully qualified name (with namespace if applicable).
Sourcepub fn effective_description(&self) -> String
pub fn effective_description(&self) -> String
Get the effective description.
Sourcepub fn is_model_invocable(&self) -> bool
pub fn is_model_invocable(&self) -> bool
Check if this skill can be invoked by the model.
Sourcepub fn is_user_invocable(&self) -> bool
pub fn is_user_invocable(&self) -> bool
Check if this skill can be invoked by the user.
Trait Implementations§
Source§impl Clone for LoadedSkill
impl Clone for LoadedSkill
Source§fn clone(&self) -> LoadedSkill
fn clone(&self) -> LoadedSkill
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoadedSkill
impl RefUnwindSafe for LoadedSkill
impl Send for LoadedSkill
impl Sync for LoadedSkill
impl Unpin for LoadedSkill
impl UnwindSafe for LoadedSkill
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