[][src]Struct google_compute1::License

pub struct License {
    pub kind: Option<String>,
    pub description: Option<String>,
    pub charges_use_fee: Option<bool>,
    pub license_code: Option<String>,
    pub transferable: Option<bool>,
    pub resource_requirements: Option<LicenseResourceRequirements>,
    pub creation_timestamp: Option<String>,
    pub id: Option<String>,
    pub self_link: Option<String>,
    pub name: Option<String>,
}

A license resource.

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

kind: Option<String>

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

description: Option<String>

An optional textual description of the resource; provided by the client when the resource is created.

charges_use_fee: Option<bool>

[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.

license_code: Option<String>

[Output Only] The unique code used to attach this license to images, snapshots, and disks.

transferable: Option<bool>

If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.

resource_requirements: Option<LicenseResourceRequirements>

no description provided

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

id: Option<String>

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

self_link: Option<String>

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

name: Option<String>

Name of the resource. The name must be 1-63 characters long and comply with RFC1035.

Trait Implementations

impl Resource for License[src]

impl ResponseResult for License[src]

impl RequestValue for License[src]

impl Clone for License[src]

impl Default for License[src]

impl Debug for License[src]

impl Serialize for License[src]

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

Auto Trait Implementations

impl Send for License

impl Sync for License

impl Unpin for License

impl UnwindSafe for License

impl RefUnwindSafe for License

Blanket Implementations

impl<T> From<T> 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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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

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