pub struct InstalledPlugin {
pub name: String,
pub version: String,
pub source: String,
pub kind: String,
pub integrity: String,
pub lib: String,
pub source_files: Vec<String>,
pub fpath: Vec<String>,
}Expand description
One installed plugin: identity + provenance + everything znative load needs
to load it without re-resolving.
Fields§
§name: StringPlugin name (store key name@version).
version: StringInstalled version (0.0.0 when the plugin declared none).
source: StringProvenance: github:owner/repo, git+URL, or path+file://DIR.
kind: String"native" or "script".
integrity: StringSHA-256 of the extracted tree, sha256-<hex> (audit / change detection).
lib: StringNative: the cdylib filename inside the store dir (e.g. libfoo.dylib).
source_files: Vec<String>Script: files to source, relative to the store dir.
fpath: Vec<String>Script: dirs to prepend to $fpath, relative to the store dir.
Trait Implementations§
Source§impl Clone for InstalledPlugin
impl Clone for InstalledPlugin
Source§fn clone(&self) -> InstalledPlugin
fn clone(&self) -> InstalledPlugin
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 InstalledPlugin
impl Debug for InstalledPlugin
Source§impl Default for InstalledPlugin
impl Default for InstalledPlugin
Source§fn default() -> InstalledPlugin
fn default() -> InstalledPlugin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstalledPlugin
impl<'de> Deserialize<'de> for InstalledPlugin
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
Auto Trait Implementations§
impl Freeze for InstalledPlugin
impl RefUnwindSafe for InstalledPlugin
impl Send for InstalledPlugin
impl Sync for InstalledPlugin
impl Unpin for InstalledPlugin
impl UnsafeUnpin for InstalledPlugin
impl UnwindSafe for InstalledPlugin
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.