logo
pub struct Offering {
    pub currency_code: String,
    pub duration: i64,
    pub duration_units: String,
    pub offering_arn: String,
    pub offering_description: String,
    pub price_per_unit: String,
    pub price_units: String,
    pub resource_specification: ResourceSpecification,
}
Expand description

A savings plan that reserves a certain amount of outbound bandwidth usage at a discounted rate each month over a period of time.

Fields

currency_code: String

The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.

duration: i64

The length of time that your reservation would be active.

duration_units: String

The unit of measurement for the duration of the offering.

offering_arn: String

The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.

offering_description: String

A description of the offering.

price_per_unit: String

The cost of a single unit. This value, in combination with priceUnits, makes up the rate.

price_units: String

The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.

resource_specification: ResourceSpecification

A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

Should always be Self

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