Enum cli::types::InstallCrate [−][src]
pub enum InstallCrate {
Enabled(bool),
Value(String),
CrateInfo(InstallCrateInfo),
RustupComponentInfo(InstallRustupComponentInfo),
CargoPluginInfo(InstallCargoPluginInfo),
}Expand description
Install crate name or params
Variants
Enabled(bool)Enables to prevent installation flow
Tuple Fields of Enabled
0: boolValue(String)The value as string
Tuple Fields of Value
0: StringCrateInfo(InstallCrateInfo)Install crate params
Tuple Fields of CrateInfo
RustupComponentInfo(InstallRustupComponentInfo)Install rustup component params
Tuple Fields of RustupComponentInfo
CargoPluginInfo(InstallCargoPluginInfo)Install cargo plugin info
Tuple Fields of CargoPluginInfo
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InstallCrate
impl Send for InstallCrate
impl Sync for InstallCrate
impl Unpin for InstallCrate
impl UnwindSafe for InstallCrate
Blanket Implementations
Mutably borrows from an owned value. Read more