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: String§capability: String§kind: ExtensionKind§name: String§description: String§version: Option<String>§source: String§reference: Option<String>§subdirectory: Option<String>§resolved_revision: String§digest: String§skills: Vec<String>§hooks: Vec<ExtensionHookRecord>§hooks_trusted: boolTrait Implementations§
Source§impl Clone for ExtensionRecord
impl Clone for ExtensionRecord
Source§fn clone(&self) -> ExtensionRecord
fn clone(&self) -> ExtensionRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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