pub struct TaskGroupSummaryBuilder { /* private fields */ }
Expand description
Builder for TaskGroupSummary
.
Implementations§
Source§impl TaskGroupSummaryBuilder
impl TaskGroupSummaryBuilder
pub fn queued(&mut self, value: i64) -> &mut Self
pub fn complete(&mut self, value: i64) -> &mut Self
pub fn failed(&mut self, value: i64) -> &mut Self
pub fn running(&mut self, value: i64) -> &mut Self
pub fn starting(&mut self, value: i64) -> &mut Self
pub fn lost(&mut self, value: i64) -> &mut Self
pub fn unknown(&mut self, value: i64) -> &mut Self
Sourcepub fn build(&self) -> Result<TaskGroupSummary, TaskGroupSummaryBuilderError>
pub fn build(&self) -> Result<TaskGroupSummary, TaskGroupSummaryBuilderError>
Trait Implementations§
Source§impl Clone for TaskGroupSummaryBuilder
impl Clone for TaskGroupSummaryBuilder
Source§fn clone(&self) -> TaskGroupSummaryBuilder
fn clone(&self) -> TaskGroupSummaryBuilder
Returns a duplicate 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 TaskGroupSummaryBuilder
impl RefUnwindSafe for TaskGroupSummaryBuilder
impl Send for TaskGroupSummaryBuilder
impl Sync for TaskGroupSummaryBuilder
impl Unpin for TaskGroupSummaryBuilder
impl UnwindSafe for TaskGroupSummaryBuilder
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