pub struct Metadata {
pub name: Option<String>,
pub producers: Option<Producers>,
pub authors: Option<Authors>,
pub description: Option<Description>,
pub licenses: Option<Licenses>,
pub source: Option<Source>,
pub homepage: Option<Homepage>,
pub revision: Option<Revision>,
pub version: Option<Version>,
pub range: Range<usize>,
}
Expand description
Metadata associated with a Wasm Component or Module
Fields§
§name: Option<String>
The component name, if any. Found in the component-name section.
producers: Option<Producers>
The component’s producers section, if any.
The component’s authors section, if any.
description: Option<Description>
Human-readable description of the binary
licenses: Option<Licenses>
License(s) under which contained software is distributed as an SPDX License Expression.
source: Option<Source>
URL to get source code for building the image
homepage: Option<Homepage>
URL to find more information on the binary
revision: Option<Revision>
Source control revision identifier for the packaged software.
version: Option<Version>
Version of the packaged software
range: Range<usize>
Byte range of the module in the parent binary
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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