pub enum ModuleActionKind {
InstallPackages {
resolved: Vec<ResolvedPackage>,
},
DeployFiles {
files: Vec<ResolvedFile>,
},
RunScript {
script: ScriptEntry,
phase: ScriptPhase,
},
Skip {
reason: String,
},
}Expand description
What kind of module action to take.
Variants§
InstallPackages
Install/update packages resolved from a module.
Fields
§
resolved: Vec<ResolvedPackage>DeployFiles
Deploy files from a module.
Fields
§
files: Vec<ResolvedFile>RunScript
Run a module lifecycle script.
Skip
Skip a module (dependency not met, user declined, etc.).
Trait Implementations§
Source§impl Debug for ModuleActionKind
impl Debug for ModuleActionKind
Auto Trait Implementations§
impl Freeze for ModuleActionKind
impl RefUnwindSafe for ModuleActionKind
impl Send for ModuleActionKind
impl Sync for ModuleActionKind
impl Unpin for ModuleActionKind
impl UnsafeUnpin for ModuleActionKind
impl UnwindSafe for ModuleActionKind
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