[][src]Struct google_cloudbilling1::PricingInfo

pub struct PricingInfo {
    pub currency_conversion_rate: Option<f64>,
    pub aggregation_info: Option<AggregationInfo>,
    pub effective_time: Option<String>,
    pub pricing_expression: Option<PricingExpression>,
    pub summary: Option<String>,
}

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

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.

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.

pricing_expression: Option<PricingExpression>

Expresses the pricing formula. See PricingExpression for an example.

summary: Option<String>

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

Trait Implementations

impl Part for PricingInfo[src]

impl Default for PricingInfo[src]

impl Clone for PricingInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PricingInfo[src]

impl Serialize for PricingInfo[src]

impl<'de> Deserialize<'de> for PricingInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]