pub struct ExeScriptCommandState {
pub command: String,
pub progress: Option<String>,
pub params: Option<Vec<String>>,
}Fields
command: Stringprogress: Option<String>params: Option<Vec<String>>Implementations
sourceimpl ExeScriptCommandState
impl ExeScriptCommandState
pub fn new(command: String) -> ExeScriptCommandState
Trait Implementations
sourceimpl Clone for ExeScriptCommandState
impl Clone for ExeScriptCommandState
sourcefn clone(&self) -> ExeScriptCommandState
fn clone(&self) -> ExeScriptCommandState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ExeScriptCommandState
impl Debug for ExeScriptCommandState
sourceimpl<'de> Deserialize<'de> for ExeScriptCommandState
impl<'de> Deserialize<'de> for ExeScriptCommandState
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
sourceimpl From<ExeScriptCommand> for ExeScriptCommandState
impl From<ExeScriptCommand> for ExeScriptCommandState
sourcefn from(cmd: ExeScriptCommand) -> Self
fn from(cmd: ExeScriptCommand) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ExeScriptCommandState> for ExeScriptCommandState
impl PartialEq<ExeScriptCommandState> for ExeScriptCommandState
sourcefn 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 ==. Read more
sourceimpl 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
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