ToolMetadataOutput

Type Alias ToolMetadataOutput 

Source
pub type ToolMetadataOutput = RegisterToolOutput;
๐Ÿ‘ŽDeprecated: Use RegisterToolOutput instead.

Aliased Typeยง

pub struct ToolMetadataOutput {
    pub default_install_strategy: InstallStrategy,
    pub default_version: Option<UnresolvedVersionSpec>,
    pub deprecations: Vec<String>,
    pub inventory_options: ToolInventoryOptions,
    pub lock_options: ToolLockOptions,
    pub minimum_proto_version: Option<Version>,
    pub name: String,
    pub plugin_version: Option<Version>,
    pub requires: Vec<String>,
    pub self_upgrade_commands: Vec<String>,
    pub type_of: PluginType,
    pub unstable: Switch,
}

Fieldsยง

ยงdefault_install_strategy: InstallStrategy

Default strategy to use when installing a tool.

ยงdefault_version: Option<UnresolvedVersionSpec>

Default alias or version to use as a fallback.

ยงdeprecations: Vec<String>

List of deprecation messages that will be displayed to users of this plugin.

ยงinventory_options: ToolInventoryOptions

Controls aspects of the tool inventory.

ยงlock_options: ToolLockOptions

Options for integrating with a lockfile.

ยงminimum_proto_version: Option<Version>

Minimum version of proto required to execute this plugin.

ยงname: String

Human readable name of the tool.

ยงplugin_version: Option<Version>

Version of the plugin.

ยงrequires: Vec<String>

Other plugins that this plugin requires.

ยงself_upgrade_commands: Vec<String>

Names of commands that will self-upgrade the tool, and should be blocked from happening.

ยงtype_of: PluginType

Type of the tool.

ยงunstable: Switch

Whether this plugin is unstable or not.