pub struct CommandV1 {
pub name: String,
pub module: String,
pub main_args: Option<String>,
pub package: Option<String>,
}
Expand description
Describes a command for a wapm module
Fields
name: String
module: String
main_args: Option<String>
package: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for CommandV1
impl<'de> Deserialize<'de> for CommandV1
sourcefn 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
impl StructuralPartialEq for CommandV1
Auto Trait Implementations
impl RefUnwindSafe for CommandV1
impl Send for CommandV1
impl Sync for CommandV1
impl Unpin for CommandV1
impl UnwindSafe for CommandV1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more