pub struct ExeScriptCommandState {
pub command: String,
pub progress: Option<String>,
pub params: Option<Vec<String>>,
}Fields§
§command: String§progress: Option<String>§params: Option<Vec<String>>Implementations§
source§impl ExeScriptCommandState
impl ExeScriptCommandState
pub fn new(command: String) -> ExeScriptCommandState
Trait Implementations§
source§impl Clone for ExeScriptCommandState
impl Clone for ExeScriptCommandState
source§fn clone(&self) -> ExeScriptCommandState
fn clone(&self) -> ExeScriptCommandState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ExeScriptCommandState
impl Debug for ExeScriptCommandState
source§impl<'de> Deserialize<'de> for ExeScriptCommandState
impl<'de> Deserialize<'de> for ExeScriptCommandState
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 From<ExeScriptCommand> for ExeScriptCommandState
impl From<ExeScriptCommand> for ExeScriptCommandState
source§fn from(cmd: ExeScriptCommand) -> Self
fn from(cmd: ExeScriptCommand) -> Self
Converts to this type from the input type.
source§impl PartialEq for ExeScriptCommandState
impl PartialEq for ExeScriptCommandState
source§fn eq(&self, other: &ExeScriptCommandState) -> bool
fn eq(&self, other: &ExeScriptCommandState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ExeScriptCommandState
impl Serialize for ExeScriptCommandState
impl StructuralPartialEq for ExeScriptCommandState
Auto Trait Implementations§
impl RefUnwindSafe for ExeScriptCommandState
impl Send for ExeScriptCommandState
impl Sync for ExeScriptCommandState
impl Unpin for ExeScriptCommandState
impl UnwindSafe for ExeScriptCommandState
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