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

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.

An optional human readable summary of the pricing information, has a maximum length of 256 characters.

Expresses the pricing formula. See PricingExpression for an example.

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. This can be left unspecified if the pricing expression doesn't require aggregation.

Trait Implementations

impl Default for PricingInfo
[src]

Returns the "default value" for a type. Read more

impl Clone for PricingInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PricingInfo
[src]

Formats the value using the given formatter. Read more

impl Part for PricingInfo
[src]

Auto Trait Implementations

impl Send for PricingInfo

impl Sync for PricingInfo