#[non_exhaustive]pub struct EbsEstimatedMonthlySavingsBuilder { /* private fields */ }Expand description
A builder for EbsEstimatedMonthlySavings.
Implementations§
source§impl EbsEstimatedMonthlySavingsBuilder
impl EbsEstimatedMonthlySavingsBuilder
sourcepub fn set_currency(self, input: Option<Currency>) -> Self
pub fn set_currency(self, input: Option<Currency>) -> Self
The currency of the estimated monthly savings.
sourcepub fn get_currency(&self) -> &Option<Currency>
pub fn get_currency(&self) -> &Option<Currency>
The currency of the estimated monthly savings.
sourcepub fn set_value(self, input: Option<f64>) -> Self
pub fn set_value(self, input: Option<f64>) -> Self
The value of the estimated monthly savings.
sourcepub fn build(self) -> EbsEstimatedMonthlySavings
pub fn build(self) -> EbsEstimatedMonthlySavings
Consumes the builder and constructs a EbsEstimatedMonthlySavings.
Trait Implementations§
source§impl Clone for EbsEstimatedMonthlySavingsBuilder
impl Clone for EbsEstimatedMonthlySavingsBuilder
source§fn clone(&self) -> EbsEstimatedMonthlySavingsBuilder
fn clone(&self) -> EbsEstimatedMonthlySavingsBuilder
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 Default for EbsEstimatedMonthlySavingsBuilder
impl Default for EbsEstimatedMonthlySavingsBuilder
source§fn default() -> EbsEstimatedMonthlySavingsBuilder
fn default() -> EbsEstimatedMonthlySavingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EbsEstimatedMonthlySavingsBuilder
impl PartialEq for EbsEstimatedMonthlySavingsBuilder
source§fn eq(&self, other: &EbsEstimatedMonthlySavingsBuilder) -> bool
fn eq(&self, other: &EbsEstimatedMonthlySavingsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EbsEstimatedMonthlySavingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EbsEstimatedMonthlySavingsBuilder
impl Send for EbsEstimatedMonthlySavingsBuilder
impl Sync for EbsEstimatedMonthlySavingsBuilder
impl Unpin for EbsEstimatedMonthlySavingsBuilder
impl UnwindSafe for EbsEstimatedMonthlySavingsBuilder
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>
Creates a shared type from an unshared type.