pub struct InstallRequest {
pub source: Source,
pub path: Option<String>,
pub git_ref: Option<String>,
pub skill: Option<String>,
pub catalog: Option<String>,
pub naming: Naming,
pub decisions: Decisions,
}Expand description
An install.
Fields§
§source: Source§path: Option<String>The skill folder inside a git source (overrides the URL’s).
git_ref: Option<String>Branch, tag or commit of a git source (overrides the URL’s); a commit pins the skill.
skill: Option<String>The skill to pick when a git source without a path holds several: the folder with this name (a skills.sh link names the skill, not its folder).
catalog: Option<String>The catalog entry this install comes from, <catalog>/<entry id>
(#26): recorded as source.catalog.
naming: Naming§decisions: DecisionsImplementations§
Trait Implementations§
Source§impl Clone for InstallRequest
impl Clone for InstallRequest
Auto Trait Implementations§
impl Forget for InstallRequest
impl Freeze for InstallRequest
impl Move for InstallRequest
impl RefUnwindSafe for InstallRequest
impl Send for InstallRequestwhere
RawVecInner: Send,
impl Sync for InstallRequestwhere
RawVecInner: Sync,
impl Unpin for InstallRequest
impl UnsafeUnpin for InstallRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Finding>: UnsafeUnpin,
impl UnwindSafe for InstallRequestwhere
RawVecInner: UnwindSafe,
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