pub struct ExtensionState {
pub installed_extension_state: InstalledExtensionState,
pub extension_name: Option<String>,
pub last_version_check: Option<OffsetDateTime>,
pub publisher_name: Option<String>,
pub version: Option<String>,
}
Expand description
The state of an extension
Fields§
§installed_extension_state: InstalledExtensionState
§extension_name: Option<String>
§last_version_check: Option<OffsetDateTime>
The time at which the version was last checked
publisher_name: Option<String>
§version: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for ExtensionState
impl Clone for ExtensionState
source§fn clone(&self) -> ExtensionState
fn clone(&self) -> ExtensionState
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 ExtensionState
impl Debug for ExtensionState
source§impl Default for ExtensionState
impl Default for ExtensionState
source§fn default() -> ExtensionState
fn default() -> ExtensionState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExtensionState
impl<'de> Deserialize<'de> for ExtensionState
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 for ExtensionState
impl PartialEq for ExtensionState
source§fn eq(&self, other: &ExtensionState) -> bool
fn eq(&self, other: &ExtensionState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExtensionState
impl Serialize for ExtensionState
impl StructuralPartialEq for ExtensionState
Auto Trait Implementations§
impl Freeze for ExtensionState
impl RefUnwindSafe for ExtensionState
impl Send for ExtensionState
impl Sync for ExtensionState
impl Unpin for ExtensionState
impl UnwindSafe for ExtensionState
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