Struct google_cloudbilling1::PricingInfo [−][src]
pub struct PricingInfo { pub effective_time: Option<String>, pub summary: Option<String>, pub pricing_expression: Option<PricingExpression>, pub currency_conversion_rate: Option<f64>, pub aggregation_info: Option<AggregationInfo>, }
Represents the pricing information for a SKU at a single point of time.
This type is not used in any activity, and only used as part of another schema.
Fields
effective_time: Option<String>
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
summary: Option<String>
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
pricing_expression: Option<PricingExpression>
Expresses the pricing formula. See PricingExpression
for an example.
currency_conversion_rate: Option<f64>
Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY
aggregation_info: Option<AggregationInfo>
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
Trait Implementations
impl Default for PricingInfo
[src]
impl Default for PricingInfo
fn default() -> PricingInfo
[src]
fn default() -> PricingInfo
Returns the "default value" for a type. Read more
impl Clone for PricingInfo
[src]
impl Clone for PricingInfo
fn clone(&self) -> PricingInfo
[src]
fn clone(&self) -> PricingInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PricingInfo
[src]
impl Debug for PricingInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for PricingInfo
[src]
impl Part for PricingInfo
Auto Trait Implementations
impl Send for PricingInfo
impl Send for PricingInfo
impl Sync for PricingInfo
impl Sync for PricingInfo