[][src]Struct rusoto_marketplace_entitlement::Entitlement

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 Clone for Entitlement[src]

impl Debug for Entitlement[src]

impl Default for Entitlement[src]

impl<'de> Deserialize<'de> for Entitlement[src]

impl PartialEq<Entitlement> for Entitlement[src]

impl StructuralPartialEq for Entitlement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.