pub struct CommandV1 {
pub name: String,
pub module: ModuleReference,
pub main_args: Option<String>,
pub package: Option<String>,
}
👎Deprecated since 0.9.2: Prefer the CommandV2 syntax
Expand description
Fields§
§name: String
👎Deprecated since 0.9.2: Prefer the CommandV2 syntax
§module: ModuleReference
👎Deprecated since 0.9.2: Prefer the CommandV2 syntax
§main_args: Option<String>
👎Deprecated since 0.9.2: Prefer the CommandV2 syntax
§package: Option<String>
👎Deprecated since 0.9.2: Prefer the CommandV2 syntax
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CommandV1
impl<'de> Deserialize<'de> for CommandV1
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
impl StructuralPartialEq for CommandV1
Auto Trait Implementations§
impl Freeze for CommandV1
impl RefUnwindSafe for CommandV1
impl Send for CommandV1
impl Sync for CommandV1
impl Unpin for CommandV1
impl UnwindSafe for CommandV1
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)