logo
pub struct Reservation {
Show 18 fields pub arn: Option<String>, pub count: Option<i64>, pub currency_code: Option<String>, pub duration: Option<i64>, pub duration_units: Option<String>, pub end: Option<String>, pub fixed_price: Option<f64>, pub name: Option<String>, pub offering_description: Option<String>, pub offering_id: Option<String>, pub offering_type: Option<String>, pub region: Option<String>, pub reservation_id: Option<String>, pub resource_specification: Option<ReservationResourceSpecification>, pub start: Option<String>, pub state: Option<String>, pub tags: Option<HashMap<String, String>>, pub usage_price: Option<f64>,
}
Expand description

Reserved resources available to use

Fields

arn: Option<String>

Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'

count: Option<i64>

Number of reserved resources

currency_code: Option<String>

Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'

duration: Option<i64>

Lease duration, e.g. '12'

duration_units: Option<String>

Units for duration, e.g. 'MONTHS'

end: Option<String>

Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'

fixed_price: Option<f64>

One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering

name: Option<String>

User specified reservation name

offering_description: Option<String>

Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'

offering_id: Option<String>

Unique offering ID, e.g. '87654321'

offering_type: Option<String>

Offering type, e.g. 'NO_UPFRONT'

region: Option<String>

AWS region, e.g. 'us-west-2'

reservation_id: Option<String>

Unique reservation ID, e.g. '1234567'

resource_specification: Option<ReservationResourceSpecification>

Resource configuration details

start: Option<String>

Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'

state: Option<String>

Current state of reservation, e.g. 'ACTIVE'

tags: Option<HashMap<String, String>>

A collection of key-value pairs

usage_price: Option<f64>

Recurring usage charge for each reserved resource, e.g. '157.0'

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