[−][src]Struct google_cloudbilling1::PricingInfo
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 Clone for PricingInfo
[src]
fn clone(&self) -> PricingInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PricingInfo
[src]
impl Default for PricingInfo
[src]
fn default() -> PricingInfo
[src]
impl<'de> Deserialize<'de> for PricingInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for PricingInfo
[src]
impl Serialize for PricingInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for PricingInfo
impl Send for PricingInfo
impl Sync for PricingInfo
impl Unpin for PricingInfo
impl UnwindSafe for PricingInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,