pub struct PartyCommand {
pub command: String,
pub args: Vec<String>,
pub is_parallel: bool,
}Expand description
Struct holding a structured PartyCommand containing a command, its arguments as an array and wether it can be parallelised.
Fields§
§command: StringCommand to run
args: Vec<String>Command arguments
is_parallel: boolSignals if command can be paralelised
Implementations§
Trait Implementations§
Source§impl Display for PartyCommand
impl Display for PartyCommand
Source§impl From<PartyCommand> for Task
impl From<PartyCommand> for Task
Source§fn from(value: PartyCommand) -> Self
fn from(value: PartyCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PartyCommand
impl RefUnwindSafe for PartyCommand
impl Send for PartyCommand
impl Sync for PartyCommand
impl Unpin for PartyCommand
impl UnwindSafe for PartyCommand
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