Enum googapis::google::cloud::billing::budgets::v1::filter::CreditTypesTreatment [−][src]
#[repr(i32)]
pub enum CreditTypesTreatment {
Unspecified,
IncludeAllCredits,
ExcludeAllCredits,
IncludeSpecifiedCredits,
}
Expand description
Specifies how credits are applied when determining the spend for threshold calculations. Budgets track the total cost minus any applicable selected credits. See the documentation for a list of credit types.
Variants
All types of credit are subtracted from the gross cost to determine the spend for threshold calculations.
All types of credit are added to the net cost to determine the spend for threshold calculations.
Credit types specified in the credit_types field are subtracted from the gross cost to determine the spend for threshold calculations.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreditTypesTreatment
impl Send for CreditTypesTreatment
impl Sync for CreditTypesTreatment
impl Unpin for CreditTypesTreatment
impl UnwindSafe for CreditTypesTreatment
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more