Struct google_compute1::api::LicenseCode[][src]

pub struct LicenseCode {
    pub creation_timestamp: Option<String>,
    pub description: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub license_alias: Option<Vec<LicenseCodeLicenseAlias>>,
    pub name: Option<String>,
    pub self_link: Option<String>,
    pub state: Option<String>,
    pub transferable: Option<bool>,
}

Represents a License Code resource.

A License Code is a unique identifier used to represent a license resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. (== resource_for {$api_version}.licenseCodes ==)

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

description: Option<String>

[Output Only] Description of this License Code.

id: Option<String>

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

kind: Option<String>

[Output Only] Type of resource. Always compute#licenseCode for licenses.

license_alias: Option<Vec<LicenseCodeLicenseAlias>>

[Output Only] URL and description aliases of Licenses with the same License Code.

name: Option<String>

[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.

self_link: Option<String>

[Output Only] Server-defined URL for the resource.

state: Option<String>

[Output Only] Current state of this License Code.

transferable: Option<bool>

[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.

Trait Implementations

impl Clone for LicenseCode[src]

impl Debug for LicenseCode[src]

impl Default for LicenseCode[src]

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

impl Resource for LicenseCode[src]

impl ResponseResult for LicenseCode[src]

impl Serialize for LicenseCode[src]

Auto Trait Implementations

impl RefUnwindSafe for LicenseCode[src]

impl Send for LicenseCode[src]

impl Sync for LicenseCode[src]

impl Unpin for LicenseCode[src]

impl UnwindSafe for LicenseCode[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.