Enum googapis::google::cloud::billing::budgets::v1beta1::threshold_rule::Basis [−][src]
#[repr(i32)]
pub enum Basis {
Unspecified,
CurrentSpend,
ForecastedSpend,
}
Expand description
The type of basis used to determine if spend has passed the threshold.
Variants
Unspecified threshold basis.
Use current spend as the basis for comparison against the threshold.
Use forecasted spend for the period as the basis for comparison against the threshold. FORECASTED_SPEND can only be set when the budget’s time period is a [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
Implementations
Trait Implementations
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 Basis
impl UnwindSafe for Basis
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