pub struct Instance {
pub image: Option<String>,
pub setup: Vec<String>,
pub script: Vec<String>,
pub weight: Option<u32>,
}
Expand description
Instance of a run declaration
Fields§
§image: Option<String>
Image to use
setup: Vec<String>
Setup commands to run (output will not be captured).
script: Vec<String>
Script to run (output will be captured).
weight: Option<u32>
Weight of this task. When set to zero, will disable concurrency control.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Instance
impl<'de> Deserialize<'de> for Instance
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 Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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