pub struct SkillCandidate {
pub name: String,
pub path: PathBuf,
pub content_hash: u64,
pub bytes: usize,
pub loaded: bool,
}Expand description
A loaded skill considered for selection.
Fields§
§name: StringSkill name.
path: PathBufAbsolute path to the SKILL.md.
content_hash: u64Content hash of the loaded skill text.
bytes: usizeEstimated UTF-8 byte size of the loaded skill instructions.
loaded: boolWhether the skill instructions are fully loaded (true) or only
discovered as metadata (false).
Implementations§
Source§impl SkillCandidate
impl SkillCandidate
Trait Implementations§
Source§impl Clone for SkillCandidate
impl Clone for SkillCandidate
Source§fn clone(&self) -> SkillCandidate
fn clone(&self) -> SkillCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillCandidate
impl Debug for SkillCandidate
impl Eq for SkillCandidate
Source§impl PartialEq for SkillCandidate
impl PartialEq for SkillCandidate
impl StructuralPartialEq for SkillCandidate
Auto Trait Implementations§
impl Freeze for SkillCandidate
impl RefUnwindSafe for SkillCandidate
impl Send for SkillCandidate
impl Sync for SkillCandidate
impl Unpin for SkillCandidate
impl UnsafeUnpin for SkillCandidate
impl UnwindSafe for SkillCandidate
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