pub struct SkillDefinition {
pub name: String,
pub description: String,
pub specification: Specification,
pub path: PathBuf,
/* private fields */
}Expand description
A skill declared by a dependency context document.
Fields§
§name: StringAuthored or derived name used for the installed directory.
description: String§specification: Specification§path: PathBufThe source path relative to the provider’s context directory.
Implementations§
Source§impl SkillDefinition
impl SkillDefinition
Sourcepub fn package_selector(&self) -> &str
pub fn package_selector(&self) -> &str
The package selector accepted by --package.
Sourcepub fn source_path(&self) -> &Path
pub fn source_path(&self) -> &Path
The source file path.
Sourcepub fn installation_content(&self) -> &str
pub fn installation_content(&self) -> &str
Generated instructions, including resolved provenance.
Trait Implementations§
Source§impl Clone for SkillDefinition
impl Clone for SkillDefinition
Auto Trait Implementations§
impl Freeze for SkillDefinition
impl RefUnwindSafe for SkillDefinition
impl Send for SkillDefinition
impl Sync for SkillDefinition
impl Unpin for SkillDefinition
impl UnsafeUnpin for SkillDefinition
impl UnwindSafe for SkillDefinition
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