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).
- delete license assignments (none)
- get license assignments (response)
- insert license assignments (response)
- list for product license assignments (none)
- list for product and sku license assignments (none)
- patch license assignments (request|response)
- update license assignments (request|response)
Fields§
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§
Source§impl Clone for LicenseAssignment
impl Clone for LicenseAssignment
Source§fn clone(&self) -> LicenseAssignment
fn clone(&self) -> LicenseAssignment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for LicenseAssignment
impl Debug for LicenseAssignment
Source§impl Default for LicenseAssignment
impl Default for LicenseAssignment
Source§fn default() -> LicenseAssignment
fn default() -> LicenseAssignment
Source§impl<'de> Deserialize<'de> for LicenseAssignment
impl<'de> Deserialize<'de> for LicenseAssignment
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 LicenseAssignment
impl Serialize for LicenseAssignment
impl RequestValue for LicenseAssignment
impl Resource for LicenseAssignment
impl ResponseResult for LicenseAssignment
Auto Trait Implementations§
impl Freeze for LicenseAssignment
impl RefUnwindSafe for LicenseAssignment
impl Send for LicenseAssignment
impl Sync for LicenseAssignment
impl Unpin for LicenseAssignment
impl UnwindSafe for LicenseAssignment
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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