pub struct TaskSetup {
pub script: Option<String>,
pub files: Vec<String>,
}Expand description
Setup configuration for task workspace.
Fields§
§script: Option<String>Script to run before the task starts.
Executed in the task workspace directory.
files: Vec<String>Files to copy to the task workspace.
Paths relative to the task suite file.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskSetup
impl<'de> Deserialize<'de> for TaskSetup
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 Freeze for TaskSetup
impl RefUnwindSafe for TaskSetup
impl Send for TaskSetup
impl Sync for TaskSetup
impl Unpin for TaskSetup
impl UnsafeUnpin for TaskSetup
impl UnwindSafe for TaskSetup
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