pub struct Task {
pub name: String,
pub command: Option<String>,
pub description: Option<String>,
pub file_path: Option<String>,
pub uses: Option<String>,
pub values: Option<Vec<String>>,
pub hide: Option<bool>,
pub workdir: Option<String>,
}Expand description
Schema for Tasks in the Roxfile
Tasks are discrete units of execution that send commands to the shell.
Fields§
§name: String§command: Option<String>§description: Option<String>§file_path: Option<String>§uses: Option<String>§values: Option<Vec<String>>§hide: Option<bool>§workdir: Option<String>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
Auto Trait Implementations§
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