pub struct Dependency {
pub name: String,
pub check: DependencyCheck,
pub install_command: Vec<String>,
}Expand description
Dependency that must be installed.
Fields§
§name: StringName of this dependency that will be shown to the user.
check: DependencyCheckCheck that will be used to determine if this dependency is installed.
install_command: Vec<String>Command that will be executed to install this dependency if necessary.
Implementations§
Source§impl Dependency
impl Dependency
Auto Trait Implementations§
impl Freeze for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnwindSafe for Dependency
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