Struct wasmer_toml::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
, wcgi
, or
emscripten
.
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