pub struct Job {
pub name: String,
pub line: usize,
pub display_name: Option<String>,
pub runs_on: Option<RunsOn>,
pub has_timeout_minutes: bool,
pub steps_text: String,
pub steps: Vec<Step>,
pub matrix: Option<Matrix>,
pub cancel_in_progress: bool,
pub concurrency_line: Option<usize>,
pub uses: Option<ReusableCall>,
pub invalid_uses: Option<InvalidUses>,
}Expand description
One job under top-level jobs:.
Fields§
§name: String§line: usizeLine of the job key.
display_name: Option<String>Job-level name: value, when it is written separately from the key.
runs_on: Option<RunsOn>§has_timeout_minutes: bool§steps_text: StringText of run steps, one step per line. Multiline scripts keep their lines.
steps: Vec<Step>Steps in document order, for later linking.
matrix: Option<Matrix>strategy.matrix, when the job has one.
cancel_in_progress: boolJob-level concurrency.cancel-in-progress cancels in-progress runs.
concurrency_line: Option<usize>Line of this job’s concurrency: key. The key match ignores ASCII case.
uses: Option<ReusableCall>uses: calling a local or remote reusable workflow.
invalid_uses: Option<InvalidUses>Job-level uses: that is not a reusable workflow call.
Trait Implementations§
impl Eq for Job
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
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