pub struct SkillScript {
pub name: String,
pub path: PathBuf,
pub description: String,
}Expand description
An executable script within a skill’s scripts/ directory.
Fields§
§name: StringScript name (filename without extension), e.g. “lint”
path: PathBufAbsolute path to the script file
description: StringBrief description from the first comment line (if present)
Trait Implementations§
Source§impl Clone for SkillScript
impl Clone for SkillScript
Source§fn clone(&self) -> SkillScript
fn clone(&self) -> SkillScript
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 moreAuto Trait Implementations§
impl Freeze for SkillScript
impl RefUnwindSafe for SkillScript
impl Send for SkillScript
impl Sync for SkillScript
impl Unpin for SkillScript
impl UnsafeUnpin for SkillScript
impl UnwindSafe for SkillScript
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