pub trait ExtensionMetadata: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn publisher(&self) -> &str;
fn version(&self) -> &str;
fn description(&self) -> &str;
fn main(&self) -> &str;
fn activation_events(&self) -> &[String];
fn capabilities(&self) -> &[String];
fn dependencies(&self) -> &[String];
fn engine(&self) -> &str;
}
Expand description
Extension metadata trait for package.json information
Required Methods§
Source
fn
description(&self) -> &str
fn description(&self) -> &str
Get the extension description
Source
fn
activation_events(&self) -> &[String]
fn activation_events(&self) -> &[String]
Get activation events
Source
fn
capabilities(&self) -> &[String]
fn capabilities(&self) -> &[String]
Get extension capabilities
Source
fn
dependencies(&self) -> &[String]
fn dependencies(&self) -> &[String]
Get extension dependencies