pub struct Job {
pub name: String,
pub rules: Vec<HashMap<String, CicdEntity>>,
}Expand description
A job is a unique unit of work that is executed in a gitlab-ci pipeline. They belong to a stage. No job can be named the same, so we can uniquely identify them by name.
Fields§
§name: String§rules: Vec<HashMap<String, CicdEntity>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin 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