#[non_exhaustive]pub struct JobProgressSummaryBuilder { /* private fields */ }Expand description
A builder for JobProgressSummary.
Implementations§
source§impl JobProgressSummaryBuilder
impl JobProgressSummaryBuilder
sourcepub fn total_number_of_tasks(self, input: i64) -> Self
pub fn total_number_of_tasks(self, input: i64) -> Self
sourcepub fn set_total_number_of_tasks(self, input: Option<i64>) -> Self
pub fn set_total_number_of_tasks(self, input: Option<i64>) -> Self
sourcepub fn get_total_number_of_tasks(&self) -> &Option<i64>
pub fn get_total_number_of_tasks(&self) -> &Option<i64>
sourcepub fn number_of_tasks_succeeded(self, input: i64) -> Self
pub fn number_of_tasks_succeeded(self, input: i64) -> Self
sourcepub fn set_number_of_tasks_succeeded(self, input: Option<i64>) -> Self
pub fn set_number_of_tasks_succeeded(self, input: Option<i64>) -> Self
sourcepub fn get_number_of_tasks_succeeded(&self) -> &Option<i64>
pub fn get_number_of_tasks_succeeded(&self) -> &Option<i64>
sourcepub fn number_of_tasks_failed(self, input: i64) -> Self
pub fn number_of_tasks_failed(self, input: i64) -> Self
sourcepub fn set_number_of_tasks_failed(self, input: Option<i64>) -> Self
pub fn set_number_of_tasks_failed(self, input: Option<i64>) -> Self
sourcepub fn get_number_of_tasks_failed(&self) -> &Option<i64>
pub fn get_number_of_tasks_failed(&self) -> &Option<i64>
sourcepub fn timers(self, input: JobTimers) -> Self
pub fn timers(self, input: JobTimers) -> Self
The JobTimers attribute of a job's progress summary.
sourcepub fn set_timers(self, input: Option<JobTimers>) -> Self
pub fn set_timers(self, input: Option<JobTimers>) -> Self
The JobTimers attribute of a job's progress summary.
sourcepub fn get_timers(&self) -> &Option<JobTimers>
pub fn get_timers(&self) -> &Option<JobTimers>
The JobTimers attribute of a job's progress summary.
sourcepub fn build(self) -> JobProgressSummary
pub fn build(self) -> JobProgressSummary
Consumes the builder and constructs a JobProgressSummary.
Trait Implementations§
source§impl Clone for JobProgressSummaryBuilder
impl Clone for JobProgressSummaryBuilder
source§fn clone(&self) -> JobProgressSummaryBuilder
fn clone(&self) -> JobProgressSummaryBuilder
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 moresource§impl Debug for JobProgressSummaryBuilder
impl Debug for JobProgressSummaryBuilder
source§impl Default for JobProgressSummaryBuilder
impl Default for JobProgressSummaryBuilder
source§fn default() -> JobProgressSummaryBuilder
fn default() -> JobProgressSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for JobProgressSummaryBuilder
impl PartialEq for JobProgressSummaryBuilder
source§fn eq(&self, other: &JobProgressSummaryBuilder) -> bool
fn eq(&self, other: &JobProgressSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JobProgressSummaryBuilder
Auto Trait Implementations§
impl Freeze for JobProgressSummaryBuilder
impl RefUnwindSafe for JobProgressSummaryBuilder
impl Send for JobProgressSummaryBuilder
impl Sync for JobProgressSummaryBuilder
impl Unpin for JobProgressSummaryBuilder
impl UnwindSafe for JobProgressSummaryBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.