pub struct InstalledExtension {
pub extension_manifest: ExtensionManifest,
pub extension_id: Option<String>,
pub extension_name: Option<String>,
pub files: Vec<ExtensionFile>,
pub flags: Option<String>,
pub install_state: Option<InstalledExtensionState>,
pub last_published: Option<OffsetDateTime>,
pub publisher_id: Option<String>,
pub publisher_name: Option<String>,
pub registration_id: Option<String>,
pub version: Option<String>,
}Expand description
Represents a VSTS extension along with its installation state
Fields§
§extension_manifest: ExtensionManifest§extension_id: Option<String>The friendly extension id for this extension - unique for a given publisher.
extension_name: Option<String>The display name of the extension.
files: Vec<ExtensionFile>This is the set of files available from the extension.
flags: Option<String>Extension flags relevant to contribution consumers
install_state: Option<InstalledExtensionState>The state of an installed extension
last_published: Option<OffsetDateTime>This represents the date/time the extensions was last updated in the gallery. This doesnt mean this version was updated the value represents changes to any and all versions of the extension.
publisher_id: Option<String>Unique id of the publisher of this extension
publisher_name: Option<String>The display name of the publisher
registration_id: Option<String>Unique id for this extension (the same id is used for all versions of a single extension)
version: Option<String>Version of this extension
Implementations§
Trait Implementations§
source§impl Clone for InstalledExtension
impl Clone for InstalledExtension
source§fn clone(&self) -> InstalledExtension
fn clone(&self) -> InstalledExtension
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InstalledExtension
impl Debug for InstalledExtension
source§impl Default for InstalledExtension
impl Default for InstalledExtension
source§fn default() -> InstalledExtension
fn default() -> InstalledExtension
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InstalledExtension
impl<'de> Deserialize<'de> for InstalledExtension
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<InstalledExtension> for InstalledExtension
impl PartialEq<InstalledExtension> for InstalledExtension
source§fn eq(&self, other: &InstalledExtension) -> bool
fn eq(&self, other: &InstalledExtension) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InstalledExtension
impl Serialize for InstalledExtension
impl StructuralPartialEq for InstalledExtension
Auto Trait Implementations§
impl RefUnwindSafe for InstalledExtension
impl Send for InstalledExtension
impl Sync for InstalledExtension
impl Unpin for InstalledExtension
impl UnwindSafe for InstalledExtension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more