pub struct InstallDependencies {
pub dependencies: Vec<Dependency>,
}Expand description
This task checks if all dependencies exist and if necessary, installs the dependencies that weren’t found.
Fields§
§dependencies: Vec<Dependency>Dependencies that need to be installed.
Trait Implementations§
Source§impl Task for InstallDependencies
impl Task for InstallDependencies
Source§type Context = ()
type Context = ()
The type of context that is passed to this task, processed and
subsequently returned by this task.
Source§fn verb(&self) -> &str
fn verb(&self) -> &str
The verb that describes this task (e.g. “Launching” or “Building”) that
is shown to the user while the task is running.
Source§fn message(&self) -> &str
fn message(&self) -> &str
The message that is shown to the user alongside the verb. This usually
starts with a lowercase letter (e.g. “[Generating] source tree”).
Auto Trait Implementations§
impl Freeze for InstallDependencies
impl RefUnwindSafe for InstallDependencies
impl Send for InstallDependencies
impl Sync for InstallDependencies
impl Unpin for InstallDependencies
impl UnwindSafe for InstallDependencies
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