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§
Sourcefn description(&self) -> &str
fn description(&self) -> &str
Get the extension description
Sourcefn activation_events(&self) -> &[String]
fn activation_events(&self) -> &[String]
Get activation events
Sourcefn capabilities(&self) -> &[String]
fn capabilities(&self) -> &[String]
Get extension capabilities
Sourcefn dependencies(&self) -> &[String]
fn dependencies(&self) -> &[String]
Get extension dependencies