Struct gr::cmds::cicd::JobBuilder
source · pub struct JobBuilder { /* private fields */ }Expand description
Builder for Job.
Implementations§
source§impl JobBuilder
impl JobBuilder
pub fn id(&mut self, value: i64) -> &mut Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn branch(&mut self, value: String) -> &mut Self
pub fn url(&mut self, value: String) -> &mut Self
pub fn commit_sha(&mut self, value: String) -> &mut Self
pub fn pipeline_id(&mut self, value: i64) -> &mut Self
pub fn stage(&mut self, value: String) -> &mut Self
pub fn status(&mut self, value: String) -> &mut Self
pub fn created_at(&mut self, value: String) -> &mut Self
pub fn started_at(&mut self, value: String) -> &mut Self
pub fn finished_at(&mut self, value: String) -> &mut Self
pub fn duration(&mut self, value: String) -> &mut Self
Trait Implementations§
source§impl Clone for JobBuilder
impl Clone for JobBuilder
source§fn clone(&self) -> JobBuilder
fn clone(&self) -> JobBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JobBuilder
impl RefUnwindSafe for JobBuilder
impl Send for JobBuilder
impl Sync for JobBuilder
impl Unpin for JobBuilder
impl UnwindSafe for JobBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)