pub struct GoogleCloudRecommenderV1beta1CostProjection {
pub cost: Option<GoogleTypeMoney>,
pub cost_in_local_currency: Option<GoogleTypeMoney>,
pub duration: Option<Duration>,
pub pricing_type: Option<String>,
}
Expand description
Contains metadata about how much money a recommendation can save or incur.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cost: Option<GoogleTypeMoney>
An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units. A user’s permissions may affect whether the cost is computed using list prices or custom contract prices.
cost_in_local_currency: Option<GoogleTypeMoney>
The approximate cost savings in the billing account’s local currency.
duration: Option<Duration>
Duration for which this cost applies.
pricing_type: Option<String>
How the cost is calculated.
Trait Implementations§
source§impl Clone for GoogleCloudRecommenderV1beta1CostProjection
impl Clone for GoogleCloudRecommenderV1beta1CostProjection
source§fn clone(&self) -> GoogleCloudRecommenderV1beta1CostProjection
fn clone(&self) -> GoogleCloudRecommenderV1beta1CostProjection
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 GoogleCloudRecommenderV1beta1CostProjection
impl Default for GoogleCloudRecommenderV1beta1CostProjection
source§fn default() -> GoogleCloudRecommenderV1beta1CostProjection
fn default() -> GoogleCloudRecommenderV1beta1CostProjection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudRecommenderV1beta1CostProjection
impl<'de> Deserialize<'de> for GoogleCloudRecommenderV1beta1CostProjection
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudRecommenderV1beta1CostProjection
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudRecommenderV1beta1CostProjection
impl Send for GoogleCloudRecommenderV1beta1CostProjection
impl Sync for GoogleCloudRecommenderV1beta1CostProjection
impl Unpin for GoogleCloudRecommenderV1beta1CostProjection
impl UnwindSafe for GoogleCloudRecommenderV1beta1CostProjection
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