Struct wasmer_config::package::CommandV2
source · pub struct CommandV2 {
pub name: String,
pub module: ModuleReference,
pub runner: String,
pub annotations: Option<CommandAnnotations>,
}
Expand description
An executable command.
Fields§
§name: String
The name of the command.
module: ModuleReference
The module containing this command’s executable.
runner: String
The runner to use when running this command.
This may be a URL, or the well-known runners wasi
or wcgi
annotations: Option<CommandAnnotations>
Extra annotations that will be consumed by the runner.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for CommandV2
impl<'de> Deserialize<'de> for CommandV2
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
source§impl PartialEq for CommandV2
impl PartialEq for CommandV2
impl StructuralPartialEq for CommandV2
Auto Trait Implementations§
impl Freeze for CommandV2
impl RefUnwindSafe for CommandV2
impl Send for CommandV2
impl Sync for CommandV2
impl Unpin for CommandV2
impl UnwindSafe for CommandV2
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)