pub struct Offering {
pub arn: Option<String>,
pub currency_code: Option<String>,
pub duration: Option<i64>,
pub duration_units: Option<String>,
pub fixed_price: Option<f64>,
pub offering_description: Option<String>,
pub offering_id: Option<String>,
pub offering_type: Option<String>,
pub region: Option<String>,
pub resource_specification: Option<ReservationResourceSpecification>,
pub usage_price: Option<f64>,
}
Reserved resources available for purchase
Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
Lease duration, e.g. '12'
Units for duration, e.g. 'MONTHS'
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
Unique offering ID, e.g. '87654321'
Offering type, e.g. 'NO_UPFRONT'
AWS region, e.g. 'us-west-2'
Resource configuration details
Recurring usage charge for each reserved resource, e.g. '157.0'
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static