Struct aws_sdk_budgets::types::CostTypes
source · #[non_exhaustive]pub struct CostTypes {
pub include_tax: Option<bool>,
pub include_subscription: Option<bool>,
pub use_blended: Option<bool>,
pub include_refund: Option<bool>,
pub include_credit: Option<bool>,
pub include_upfront: Option<bool>,
pub include_recurring: Option<bool>,
pub include_other_subscription: Option<bool>,
pub include_support: Option<bool>,
pub include_discount: Option<bool>,
pub use_amortized: Option<bool>,
}
Expand description
The types of cost that are included in a COST
budget, such as tax and subscriptions.
USAGE
, RI_UTILIZATION
, RI_COVERAGE
, SAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
budgets don't have CostTypes
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.include_tax: Option<bool>
Specifies whether a budget includes taxes.
The default value is true
.
include_subscription: Option<bool>
Specifies whether a budget includes subscriptions.
The default value is true
.
use_blended: Option<bool>
Specifies whether a budget uses a blended rate.
The default value is false
.
include_refund: Option<bool>
Specifies whether a budget includes refunds.
The default value is true
.
include_credit: Option<bool>
Specifies whether a budget includes credits.
The default value is true
.
include_upfront: Option<bool>
Specifies whether a budget includes upfront RI costs.
The default value is true
.
include_recurring: Option<bool>
Specifies whether a budget includes recurring fees such as monthly RI fees.
The default value is true
.
include_other_subscription: Option<bool>
Specifies whether a budget includes non-RI subscription costs.
The default value is true
.
include_support: Option<bool>
Specifies whether a budget includes support subscription fees.
The default value is true
.
include_discount: Option<bool>
Specifies whether a budget includes discounts.
The default value is true
.
use_amortized: Option<bool>
Specifies whether a budget uses the amortized rate.
The default value is false
.
Implementations§
source§impl CostTypes
impl CostTypes
sourcepub fn include_tax(&self) -> Option<bool>
pub fn include_tax(&self) -> Option<bool>
Specifies whether a budget includes taxes.
The default value is true
.
sourcepub fn include_subscription(&self) -> Option<bool>
pub fn include_subscription(&self) -> Option<bool>
Specifies whether a budget includes subscriptions.
The default value is true
.
sourcepub fn use_blended(&self) -> Option<bool>
pub fn use_blended(&self) -> Option<bool>
Specifies whether a budget uses a blended rate.
The default value is false
.
sourcepub fn include_refund(&self) -> Option<bool>
pub fn include_refund(&self) -> Option<bool>
Specifies whether a budget includes refunds.
The default value is true
.
sourcepub fn include_credit(&self) -> Option<bool>
pub fn include_credit(&self) -> Option<bool>
Specifies whether a budget includes credits.
The default value is true
.
sourcepub fn include_upfront(&self) -> Option<bool>
pub fn include_upfront(&self) -> Option<bool>
Specifies whether a budget includes upfront RI costs.
The default value is true
.
sourcepub fn include_recurring(&self) -> Option<bool>
pub fn include_recurring(&self) -> Option<bool>
Specifies whether a budget includes recurring fees such as monthly RI fees.
The default value is true
.
sourcepub fn include_other_subscription(&self) -> Option<bool>
pub fn include_other_subscription(&self) -> Option<bool>
Specifies whether a budget includes non-RI subscription costs.
The default value is true
.
sourcepub fn include_support(&self) -> Option<bool>
pub fn include_support(&self) -> Option<bool>
Specifies whether a budget includes support subscription fees.
The default value is true
.
sourcepub fn include_discount(&self) -> Option<bool>
pub fn include_discount(&self) -> Option<bool>
Specifies whether a budget includes discounts.
The default value is true
.
sourcepub fn use_amortized(&self) -> Option<bool>
pub fn use_amortized(&self) -> Option<bool>
Specifies whether a budget uses the amortized rate.
The default value is false
.
Trait Implementations§
source§impl PartialEq for CostTypes
impl PartialEq for CostTypes
impl StructuralPartialEq for CostTypes
Auto Trait Implementations§
impl Freeze for CostTypes
impl RefUnwindSafe for CostTypes
impl Send for CostTypes
impl Sync for CostTypes
impl Unpin for CostTypes
impl UnwindSafe for CostTypes
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