pub struct UserJob {
pub name: Option<String>,
pub image: Option<String>,
pub on: Option<WorkflowTriggerEvents>,
pub working_dirs: Option<Vec<String>>,
pub steps: Vec<UserStep>,
pub depends_on: Option<Vec<String>>,
}Fields§
§name: Option<String>§image: Option<String>§on: Option<WorkflowTriggerEvents>§working_dirs: Option<Vec<String>>Working directory for all steps in this job
steps: Vec<UserStep>§depends_on: Option<Vec<String>>Trait Implementations§
source§impl<'de> Deserialize<'de> for UserJob
impl<'de> Deserialize<'de> for UserJob
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 UserJob
impl Send for UserJob
impl Sync for UserJob
impl Unpin for UserJob
impl UnwindSafe for UserJob
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