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: InstallStrategyDefault 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: ToolInventoryOptionsControls aspects of the tool inventory.
lock_options: ToolLockOptionsOptions for integrating with a lockfile.
minimum_proto_version: Option<Version>Minimum version of proto required to execute this plugin.
name: StringHuman 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: PluginTypeType of the tool.
unstable: SwitchWhether this plugin is unstable or not.