Struct rusoto_ec2::Purchase [] [src]

pub struct Purchase {
    pub currency_code: Option<String>,
    pub duration: Option<i64>,
    pub host_id_set: Option<Vec<String>>,
    pub host_reservation_id: Option<String>,
    pub hourly_price: Option<String>,
    pub instance_family: Option<String>,
    pub payment_option: Option<String>,
    pub upfront_price: Option<String>,
}

Describes the result of the purchase.

Fields

The currency in which the UpfrontPrice and HourlyPrice amounts are specified. At this time, the only supported currency is USD.

The duration of the reservation's term in seconds.

The IDs of the Dedicated Hosts associated with the reservation.

The ID of the reservation.

The hourly price of the reservation per hour.

The instance family on the Dedicated Host that the reservation can be associated with.

The payment option for the reservation.

The upfront price of the reservation.

Trait Implementations

impl Default for Purchase
[src]

Returns the "default value" for a type. Read more

impl Debug for Purchase
[src]

Formats the value using the given formatter.

impl Clone for Purchase
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more