[][src]Struct google_cloudbilling1::Sku

pub struct Sku {
    pub category: Option<Category>,
    pub service_provider_name: Option<String>,
    pub description: Option<String>,
    pub service_regions: Option<Vec<String>>,
    pub sku_id: Option<String>,
    pub pricing_info: Option<Vec<PricingInfo>>,
    pub name: Option<String>,
}

Encapsulates a single SKU in Google Cloud Platform

This type is not used in any activity, and only used as part of another schema.

Fields

category: Option<Category>

The category hierarchy of this SKU, purely for organizational purpose.

service_provider_name: Option<String>

Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.

description: Option<String>

A human readable description of the SKU, has a maximum length of 256 characters.

service_regions: Option<Vec<String>>

List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/

sku_id: Option<String>

The identifier for the SKU. Example: "AA95-CD31-42FE"

pricing_info: Option<Vec<PricingInfo>>

A timeline of pricing info for this SKU in chronological order.

name: Option<String>

The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"

Trait Implementations

impl Part for Sku[src]

impl Default for Sku[src]

impl Clone for Sku[src]

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

Performs copy-assignment from source. Read more

impl Debug for Sku[src]

impl Serialize for Sku[src]

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

Auto Trait Implementations

impl Send for Sku

impl Unpin for Sku

impl Sync for Sku

impl UnwindSafe for Sku

impl RefUnwindSafe for Sku

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]