pub struct ExtensionRecord {Show 14 fields
pub id: String,
pub capability: String,
pub kind: ExtensionKind,
pub name: String,
pub description: String,
pub version: Option<String>,
pub source: String,
pub reference: Option<String>,
pub subdirectory: Option<String>,
pub resolved_revision: String,
pub digest: String,
pub skills: Vec<String>,
pub hooks: Vec<ExtensionHookRecord>,
pub hooks_trusted: bool,
}Expand description
Frontend-safe metadata for one installed extension snapshot.
Fields§
§id: StringThe identifier.
capability: StringThe capability.
kind: ExtensionKindThe kind.
name: StringThe name.
description: StringThe description.
version: Option<String>The version.
source: StringThe source.
reference: Option<String>The reference.
subdirectory: Option<String>The subdirectory.
resolved_revision: StringThe resolved revision.
digest: StringThe digest.
skills: Vec<String>The skills.
hooks: Vec<ExtensionHookRecord>The hooks.
hooks_trusted: boolThe hooks trusted.
Trait Implementations§
Source§impl Clone for ExtensionRecord
impl Clone for ExtensionRecord
Source§impl Debug for ExtensionRecord
impl Debug for ExtensionRecord
Source§impl<'de> Deserialize<'de> for ExtensionRecord
impl<'de> Deserialize<'de> for ExtensionRecord
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
impl Eq for ExtensionRecord
Source§impl PartialEq for ExtensionRecord
impl PartialEq for ExtensionRecord
Source§impl Serialize for ExtensionRecord
impl Serialize for ExtensionRecord
impl StructuralPartialEq for ExtensionRecord
Auto Trait Implementations§
impl Freeze for ExtensionRecord
impl RefUnwindSafe for ExtensionRecord
impl Send for ExtensionRecord
impl Sync for ExtensionRecord
impl Unpin for ExtensionRecord
impl UnsafeUnpin for ExtensionRecord
impl UnwindSafe for ExtensionRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.