Struct rusoto_ec2::GetHostReservationPurchasePreviewResult [−][src]
pub struct GetHostReservationPurchasePreviewResult { pub currency_code: Option<String>, pub purchase: Option<Vec<Purchase>>, pub total_hourly_price: Option<String>, pub total_upfront_price: Option<String>, }
Fields
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>>
The purchase information of the Dedicated Host Reservation and the Dedicated Hosts associated with it.
total_hourly_price: Option<String>
The potential total hourly price of the reservation per hour.
total_upfront_price: Option<String>
The potential total upfront price. This is billed immediately.
Trait Implementations
impl Default for GetHostReservationPurchasePreviewResult
[src]
impl Default for GetHostReservationPurchasePreviewResult
fn default() -> GetHostReservationPurchasePreviewResult
[src]
fn default() -> GetHostReservationPurchasePreviewResult
Returns the "default value" for a type. Read more
impl Debug for GetHostReservationPurchasePreviewResult
[src]
impl Debug for GetHostReservationPurchasePreviewResult
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 GetHostReservationPurchasePreviewResult
[src]
impl Clone for GetHostReservationPurchasePreviewResult
fn clone(&self) -> GetHostReservationPurchasePreviewResult
[src]
fn clone(&self) -> GetHostReservationPurchasePreviewResult
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for GetHostReservationPurchasePreviewResult
[src]
impl PartialEq for GetHostReservationPurchasePreviewResult
fn eq(&self, other: &GetHostReservationPurchasePreviewResult) -> bool
[src]
fn eq(&self, other: &GetHostReservationPurchasePreviewResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetHostReservationPurchasePreviewResult) -> bool
[src]
fn ne(&self, other: &GetHostReservationPurchasePreviewResult) -> bool
This method tests for !=
.