pub struct JobListStubBuilder { /* private fields */ }
Expand description
Builder for JobListStub
.
Implementations§
Source§impl JobListStubBuilder
impl JobListStubBuilder
pub fn meta(&mut self, value: Option<HashMap<String, String>>) -> &mut Self
pub fn namespace(&mut self, value: Option<String>) -> &mut Self
pub fn periodic(&mut self, value: bool) -> &mut Self
pub fn parameterized_job(&mut self, value: bool) -> &mut Self
pub fn stop(&mut self, value: bool) -> &mut Self
pub fn status(&mut self, value: String) -> &mut Self
pub fn submit_time(&mut self, value: i64) -> &mut Self
pub fn datacenters(&mut self, value: Vec<String>) -> &mut Self
pub fn type(&mut self, value: String) -> &mut Self
pub fn priority(&mut self, value: i64) -> &mut Self
pub fn modify_index(&mut self, value: u64) -> &mut Self
pub fn status_description(&mut self, value: String) -> &mut Self
pub fn job_summary(&mut self, value: Option<JobSummary>) -> &mut Self
pub fn create_index(&mut self, value: u64) -> &mut Self
pub fn job_modify_index(&mut self, value: u64) -> &mut Self
pub fn id(&mut self, value: String) -> &mut Self
pub fn parent_id(&mut self, value: String) -> &mut Self
pub fn name(&mut self, value: String) -> &mut Self
Sourcepub fn build(&self) -> Result<JobListStub, JobListStubBuilderError>
pub fn build(&self) -> Result<JobListStub, JobListStubBuilderError>
Trait Implementations§
Source§impl Clone for JobListStubBuilder
impl Clone for JobListStubBuilder
Source§fn clone(&self) -> JobListStubBuilder
fn clone(&self) -> JobListStubBuilder
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 JobListStubBuilder
impl RefUnwindSafe for JobListStubBuilder
impl Send for JobListStubBuilder
impl Sync for JobListStubBuilder
impl Unpin for JobListStubBuilder
impl UnwindSafe for JobListStubBuilder
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