Struct rusoto_marketplace_entitlement::Entitlement [−][src]
pub struct Entitlement { pub customer_identifier: Option<String>, pub dimension: Option<String>, pub expiration_date: Option<f64>, pub product_code: Option<String>, pub value: Option<EntitlementValue>, }
An entitlement represents capacity in a product owned by the customer. For example, a customer might own some number of users or seats in an SaaS application or some amount of data capacity in a multi-tenant database.
Fields
customer_identifier: Option<String>
The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.
dimension: Option<String>
The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
expiration_date: Option<f64>
The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.
product_code: Option<String>
The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.
value: Option<EntitlementValue>
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
Trait Implementations
impl Default for Entitlement
[src]
impl Default for Entitlement
fn default() -> Entitlement
[src]
fn default() -> Entitlement
Returns the "default value" for a type. Read more
impl Debug for Entitlement
[src]
impl Debug for Entitlement
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Entitlement
[src]
impl Clone for Entitlement
fn clone(&self) -> Entitlement
[src]
fn clone(&self) -> Entitlement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Entitlement
[src]
impl PartialEq for Entitlement
fn eq(&self, other: &Entitlement) -> bool
[src]
fn eq(&self, other: &Entitlement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Entitlement) -> bool
[src]
fn ne(&self, other: &Entitlement) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Entitlement
impl Send for Entitlement
impl Sync for Entitlement
impl Sync for Entitlement