Struct google_compute1::LicenseCode
source · pub struct LicenseCode {
pub kind: Option<String>,
pub description: Option<String>,
pub transferable: Option<bool>,
pub state: Option<String>,
pub license_alias: Option<Vec<LicenseCodeLicenseAlias>>,
pub creation_timestamp: Option<String>,
pub id: Option<String>,
pub self_link: Option<String>,
pub name: Option<String>,
}Expand description
There is no detailed description.
§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§
§kind: Option<String>[Output Only] Type of resource. Always compute#licenseCode for licenses.
description: Option<String>[Output Only] Description 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.
state: Option<String>[Output Only] Current state of this License Code.
license_alias: Option<Vec<LicenseCodeLicenseAlias>>[Output Only] URL and description aliases of Licenses with the same License Code.
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>[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.
Trait Implementations§
source§impl Clone for LicenseCode
impl Clone for LicenseCode
source§fn clone(&self) -> LicenseCode
fn clone(&self) -> LicenseCode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LicenseCode
impl Debug for LicenseCode
source§impl Default for LicenseCode
impl Default for LicenseCode
source§fn default() -> LicenseCode
fn default() -> LicenseCode
source§impl<'de> Deserialize<'de> for LicenseCode
impl<'de> Deserialize<'de> for LicenseCode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for LicenseCode
impl Serialize for LicenseCode
impl Resource for LicenseCode
impl ResponseResult for LicenseCode
Auto Trait Implementations§
impl Freeze for LicenseCode
impl RefUnwindSafe for LicenseCode
impl Send for LicenseCode
impl Sync for LicenseCode
impl Unpin for LicenseCode
impl UnwindSafe for LicenseCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more