pub struct Task {
pub command: Vec<String>,
pub parallel: Option<bool>,
}Expand description
Single TOML task
Fields§
§command: Vec<String>Command components
parallel: Option<bool>Signals if command can be paralelised
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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<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.
Source§impl From<Task> for PartyCommand
impl From<Task> for PartyCommand
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
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