Struct rusoto_medialive::Reservation [−][src]
pub struct Reservation {}Show 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'
A collection of key-value pairs
usage_price: Option<f64>
Recurring usage charge for each reserved resource, e.g. '157.0'
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnwindSafe for Reservation
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self