Struct google_compute1::api::LicenseCode [−][src]
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).
- get license codes (response)
- test iam permissions license codes (none)
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]
fn clone(&self) -> LicenseCode[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LicenseCode[src]
impl Default for LicenseCode[src]
fn default() -> LicenseCode[src]
impl<'de> Deserialize<'de> for LicenseCode[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
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]
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,
pub 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> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[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.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,