Struct rusoto_ec2::PurchaseHostReservationResult [−][src]
pub struct PurchaseHostReservationResult { pub client_token: Option<String>, pub currency_code: Option<String>, pub purchase: Option<Vec<Purchase>>, pub total_hourly_price: Option<String>, pub total_upfront_price: Option<String>, }
Fields
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide
currency_code: Option<String>
The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are specified. At this time, the only supported currency is USD
.
purchase: Option<Vec<Purchase>>
Describes the details of the purchase.
total_hourly_price: Option<String>
The total hourly price of the reservation calculated per hour.
total_upfront_price: Option<String>
The total amount that will be charged to your account when you purchase the reservation.
Trait Implementations
impl Default for PurchaseHostReservationResult
[src]
impl Default for PurchaseHostReservationResult
fn default() -> PurchaseHostReservationResult
[src]
fn default() -> PurchaseHostReservationResult
Returns the "default value" for a type. Read more
impl Debug for PurchaseHostReservationResult
[src]
impl Debug for PurchaseHostReservationResult
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PurchaseHostReservationResult
[src]
impl Clone for PurchaseHostReservationResult
fn clone(&self) -> PurchaseHostReservationResult
[src]
fn clone(&self) -> PurchaseHostReservationResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PurchaseHostReservationResult
[src]
impl PartialEq for PurchaseHostReservationResult
fn eq(&self, other: &PurchaseHostReservationResult) -> bool
[src]
fn eq(&self, other: &PurchaseHostReservationResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PurchaseHostReservationResult) -> bool
[src]
fn ne(&self, other: &PurchaseHostReservationResult) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PurchaseHostReservationResult
impl Send for PurchaseHostReservationResult
impl Sync for PurchaseHostReservationResult
impl Sync for PurchaseHostReservationResult