pub struct LicenseAssignment {
    pub etags: Option<String>,
    pub kind: Option<String>,
    pub product_id: Option<String>,
    pub product_name: Option<String>,
    pub self_link: Option<String>,
    pub sku_id: Option<String>,
    pub sku_name: Option<String>,
    pub user_id: Option<String>,
}
Expand description

Representation of a license assignment.

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

etags: Option<String>

ETag of the resource.

kind: Option<String>

Identifies the resource as a LicenseAssignment, which is licensing#licenseAssignment.

product_id: Option<String>

A product’s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.

product_name: Option<String>

Display Name of the product.

self_link: Option<String>

Link to this page.

sku_id: Option<String>

A product SKU’s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.

sku_name: Option<String>

Display Name of the sku of the product.

user_id: Option<String>

The user’s current primary email address. If the user’s email address changes, use the new email address in your API requests. Since a userId is subject to change, do not use a userId value as a key for persistent data. This key could break if the current user’s email address changes. If the userId is suspended, the license status changes.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more