#[non_exhaustive]pub struct TemplateProgressBuilder { /* private fields */ }
Expand description
A builder for TemplateProgress
.
Implementations§
source§impl TemplateProgressBuilder
impl TemplateProgressBuilder
sourcepub fn resources_succeeded(self, input: i32) -> Self
pub fn resources_succeeded(self, input: i32) -> Self
The number of resources that succeeded the template generation.
sourcepub fn set_resources_succeeded(self, input: Option<i32>) -> Self
pub fn set_resources_succeeded(self, input: Option<i32>) -> Self
The number of resources that succeeded the template generation.
sourcepub fn get_resources_succeeded(&self) -> &Option<i32>
pub fn get_resources_succeeded(&self) -> &Option<i32>
The number of resources that succeeded the template generation.
sourcepub fn resources_failed(self, input: i32) -> Self
pub fn resources_failed(self, input: i32) -> Self
The number of resources that failed the template generation.
sourcepub fn set_resources_failed(self, input: Option<i32>) -> Self
pub fn set_resources_failed(self, input: Option<i32>) -> Self
The number of resources that failed the template generation.
sourcepub fn get_resources_failed(&self) -> &Option<i32>
pub fn get_resources_failed(&self) -> &Option<i32>
The number of resources that failed the template generation.
sourcepub fn resources_processing(self, input: i32) -> Self
pub fn resources_processing(self, input: i32) -> Self
The number of resources that are in-process for the template generation.
sourcepub fn set_resources_processing(self, input: Option<i32>) -> Self
pub fn set_resources_processing(self, input: Option<i32>) -> Self
The number of resources that are in-process for the template generation.
sourcepub fn get_resources_processing(&self) -> &Option<i32>
pub fn get_resources_processing(&self) -> &Option<i32>
The number of resources that are in-process for the template generation.
sourcepub fn resources_pending(self, input: i32) -> Self
pub fn resources_pending(self, input: i32) -> Self
The number of resources that are still pending the template generation.
sourcepub fn set_resources_pending(self, input: Option<i32>) -> Self
pub fn set_resources_pending(self, input: Option<i32>) -> Self
The number of resources that are still pending the template generation.
sourcepub fn get_resources_pending(&self) -> &Option<i32>
pub fn get_resources_pending(&self) -> &Option<i32>
The number of resources that are still pending the template generation.
sourcepub fn build(self) -> TemplateProgress
pub fn build(self) -> TemplateProgress
Consumes the builder and constructs a TemplateProgress
.
Trait Implementations§
source§impl Clone for TemplateProgressBuilder
impl Clone for TemplateProgressBuilder
source§fn clone(&self) -> TemplateProgressBuilder
fn clone(&self) -> TemplateProgressBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TemplateProgressBuilder
impl Debug for TemplateProgressBuilder
source§impl Default for TemplateProgressBuilder
impl Default for TemplateProgressBuilder
source§fn default() -> TemplateProgressBuilder
fn default() -> TemplateProgressBuilder
source§impl PartialEq for TemplateProgressBuilder
impl PartialEq for TemplateProgressBuilder
source§fn eq(&self, other: &TemplateProgressBuilder) -> bool
fn eq(&self, other: &TemplateProgressBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TemplateProgressBuilder
Auto Trait Implementations§
impl Freeze for TemplateProgressBuilder
impl RefUnwindSafe for TemplateProgressBuilder
impl Send for TemplateProgressBuilder
impl Sync for TemplateProgressBuilder
impl Unpin for TemplateProgressBuilder
impl UnwindSafe for TemplateProgressBuilder
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
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>
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>
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 more