#[non_exhaustive]pub struct BudgetedAndActualAmountsBuilder { /* private fields */ }
Expand description
A builder for BudgetedAndActualAmounts
.
Implementations§
source§impl BudgetedAndActualAmountsBuilder
impl BudgetedAndActualAmountsBuilder
sourcepub fn budgeted_amount(self, input: Spend) -> Self
pub fn budgeted_amount(self, input: Spend) -> Self
The amount of cost or usage that you created the budget for.
sourcepub fn set_budgeted_amount(self, input: Option<Spend>) -> Self
pub fn set_budgeted_amount(self, input: Option<Spend>) -> Self
The amount of cost or usage that you created the budget for.
sourcepub fn get_budgeted_amount(&self) -> &Option<Spend>
pub fn get_budgeted_amount(&self) -> &Option<Spend>
The amount of cost or usage that you created the budget for.
sourcepub fn actual_amount(self, input: Spend) -> Self
pub fn actual_amount(self, input: Spend) -> Self
Your actual costs or usage for a budget period.
sourcepub fn set_actual_amount(self, input: Option<Spend>) -> Self
pub fn set_actual_amount(self, input: Option<Spend>) -> Self
Your actual costs or usage for a budget period.
sourcepub fn get_actual_amount(&self) -> &Option<Spend>
pub fn get_actual_amount(&self) -> &Option<Spend>
Your actual costs or usage for a budget period.
sourcepub fn time_period(self, input: TimePeriod) -> Self
pub fn time_period(self, input: TimePeriod) -> Self
The time period that's covered by this budget comparison.
sourcepub fn set_time_period(self, input: Option<TimePeriod>) -> Self
pub fn set_time_period(self, input: Option<TimePeriod>) -> Self
The time period that's covered by this budget comparison.
sourcepub fn get_time_period(&self) -> &Option<TimePeriod>
pub fn get_time_period(&self) -> &Option<TimePeriod>
The time period that's covered by this budget comparison.
sourcepub fn build(self) -> BudgetedAndActualAmounts
pub fn build(self) -> BudgetedAndActualAmounts
Consumes the builder and constructs a BudgetedAndActualAmounts
.
Trait Implementations§
source§impl Clone for BudgetedAndActualAmountsBuilder
impl Clone for BudgetedAndActualAmountsBuilder
source§fn clone(&self) -> BudgetedAndActualAmountsBuilder
fn clone(&self) -> BudgetedAndActualAmountsBuilder
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 BudgetedAndActualAmountsBuilder
impl Default for BudgetedAndActualAmountsBuilder
source§fn default() -> BudgetedAndActualAmountsBuilder
fn default() -> BudgetedAndActualAmountsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BudgetedAndActualAmountsBuilder
impl PartialEq for BudgetedAndActualAmountsBuilder
source§fn eq(&self, other: &BudgetedAndActualAmountsBuilder) -> bool
fn eq(&self, other: &BudgetedAndActualAmountsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BudgetedAndActualAmountsBuilder
Auto Trait Implementations§
impl Freeze for BudgetedAndActualAmountsBuilder
impl RefUnwindSafe for BudgetedAndActualAmountsBuilder
impl Send for BudgetedAndActualAmountsBuilder
impl Sync for BudgetedAndActualAmountsBuilder
impl Unpin for BudgetedAndActualAmountsBuilder
impl UnwindSafe for BudgetedAndActualAmountsBuilder
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.