pub struct ExtensionManifest {Show 13 fields
pub base_uri: Option<String>,
pub constraints: Vec<ContributionConstraint>,
pub contributions: Vec<Contribution>,
pub contribution_types: Vec<ContributionType>,
pub demands: Vec<String>,
pub event_callbacks: Option<ExtensionEventCallbackCollection>,
pub fallback_base_uri: Option<String>,
pub language: Option<String>,
pub licensing: Option<ExtensionLicensing>,
pub manifest_version: Option<f64>,
pub restricted_to: Vec<String>,
pub scopes: Vec<String>,
pub service_instance_type: Option<String>,
}Expand description
Base class for extension properties which are shared by the extension manifest and the extension model
Fields§
§base_uri: Option<String>Uri used as base for other relative uri’s defined in extension
constraints: Vec<ContributionConstraint>List of shared constraints defined by this extension
contributions: Vec<Contribution>List of contributions made by this extension
contribution_types: Vec<ContributionType>List of contribution types defined by this extension
demands: Vec<String>List of explicit demands required by this extension
event_callbacks: Option<ExtensionEventCallbackCollection>Collection of event callbacks - endpoints called when particular extension events occur.
fallback_base_uri: Option<String>Secondary location that can be used as base for other relative uri’s defined in extension
language: Option<String>Language Culture Name set by the Gallery
licensing: Option<ExtensionLicensing>How an extension should handle including contributions based on licensing
manifest_version: Option<f64>Version of the extension manifest format/content
restricted_to: Vec<String>Default user claims applied to all contributions (except the ones which have been specified restrictedTo explicitly) to control the visibility of a contribution.
scopes: Vec<String>List of all oauth scopes required by this extension
service_instance_type: Option<String>The ServiceInstanceType(Guid) of the VSTS service that must be available to an account in order for the extension to be installed
Implementations§
Trait Implementations§
source§impl Clone for ExtensionManifest
impl Clone for ExtensionManifest
source§fn clone(&self) -> ExtensionManifest
fn clone(&self) -> ExtensionManifest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExtensionManifest
impl Debug for ExtensionManifest
source§impl Default for ExtensionManifest
impl Default for ExtensionManifest
source§fn default() -> ExtensionManifest
fn default() -> ExtensionManifest
source§impl<'de> Deserialize<'de> for ExtensionManifest
impl<'de> Deserialize<'de> for ExtensionManifest
source§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>,
source§impl PartialEq<ExtensionManifest> for ExtensionManifest
impl PartialEq<ExtensionManifest> for ExtensionManifest
source§fn eq(&self, other: &ExtensionManifest) -> bool
fn eq(&self, other: &ExtensionManifest) -> bool
self and other values to be equal, and is used
by ==.