pub struct Manifest {Show 16 fields
pub manifest_version: u32,
pub id: String,
pub name: String,
pub version: String,
pub author: String,
pub description: String,
pub kind: PluginKind,
pub module: Option<String>,
pub module_base64: Option<String>,
pub abi_version: Option<u32>,
pub imports: Vec<String>,
pub detect: Option<DetectConfig>,
pub export: Option<ExportConfig>,
pub content: Option<ContentPack>,
pub assets: Vec<ManifestAsset>,
pub signature: Signature,
}Expand description
A parsed plugin manifest. A content plugin carries a typed
ContentPack payload (validated via content_pack::validate_pack);
code-bearing kinds carry a wasm module and declared imports instead.
Fields§
§manifest_version: u32§id: String§name: String§version: String§description: String§kind: PluginKind§module: Option<String>The declared module filename (provenance/metadata, e.g. module.wasm).
module_base64: Option<String>The wasm module itself, base64-encoded, so a code-bearing plugin ships
as a single signed file. Excluded from the signing payload — the
signature binds its hash instead (see signature::signing_payload).
abi_version: Option<u32>§imports: Vec<String>§detect: Option<DetectConfig>§export: Option<ExportConfig>§content: Option<ContentPack>§assets: Vec<ManifestAsset>Inline images a content plugin’s routine steps may reference, each
bound by its sha256. Excluded from the signing payload by blob
(data_base64); the hash stays in the canonical manifest. Only content
plugins may carry assets. Omitted entirely when empty so a plugin that
ships none signs over a manifest with no assets key at all. See
super::asset.
signature: SignatureTrait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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>,
impl StructuralPartialEq for Manifest
Auto Trait Implementations§
impl Freeze for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
self file descriptor.§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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 more