#[non_exhaustive]pub struct CalculationSummaryBuilder { /* private fields */ }Expand description
A builder for CalculationSummary.
Implementations§
Source§impl CalculationSummaryBuilder
impl CalculationSummaryBuilder
Sourcepub fn calculation_execution_id(self, input: impl Into<String>) -> Self
pub fn calculation_execution_id(self, input: impl Into<String>) -> Self
The calculation execution UUID.
Sourcepub fn set_calculation_execution_id(self, input: Option<String>) -> Self
pub fn set_calculation_execution_id(self, input: Option<String>) -> Self
The calculation execution UUID.
Sourcepub fn get_calculation_execution_id(&self) -> &Option<String>
pub fn get_calculation_execution_id(&self) -> &Option<String>
The calculation execution UUID.
Sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the calculation.
Sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the calculation.
Sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the calculation.
Sourcepub fn status(self, input: CalculationStatus) -> Self
pub fn status(self, input: CalculationStatus) -> Self
Contains information about the status of the calculation.
Sourcepub fn set_status(self, input: Option<CalculationStatus>) -> Self
pub fn set_status(self, input: Option<CalculationStatus>) -> Self
Contains information about the status of the calculation.
Sourcepub fn get_status(&self) -> &Option<CalculationStatus>
pub fn get_status(&self) -> &Option<CalculationStatus>
Contains information about the status of the calculation.
Sourcepub fn build(self) -> CalculationSummary
pub fn build(self) -> CalculationSummary
Consumes the builder and constructs a CalculationSummary.
Trait Implementations§
Source§impl Clone for CalculationSummaryBuilder
impl Clone for CalculationSummaryBuilder
Source§fn clone(&self) -> CalculationSummaryBuilder
fn clone(&self) -> CalculationSummaryBuilder
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 moreSource§impl Debug for CalculationSummaryBuilder
impl Debug for CalculationSummaryBuilder
Source§impl Default for CalculationSummaryBuilder
impl Default for CalculationSummaryBuilder
Source§fn default() -> CalculationSummaryBuilder
fn default() -> CalculationSummaryBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CalculationSummaryBuilder
Auto Trait Implementations§
impl Freeze for CalculationSummaryBuilder
impl RefUnwindSafe for CalculationSummaryBuilder
impl Send for CalculationSummaryBuilder
impl Sync for CalculationSummaryBuilder
impl Unpin for CalculationSummaryBuilder
impl UnsafeUnpin for CalculationSummaryBuilder
impl UnwindSafe for CalculationSummaryBuilder
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§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.