#[non_exhaustive]pub struct GetHostReservationPurchasePreviewOutput { /* private fields */ }
Implementations§
source§impl GetHostReservationPurchasePreviewOutput
impl GetHostReservationPurchasePreviewOutput
sourcepub fn currency_code(&self) -> Option<&CurrencyCodeValues>
pub fn currency_code(&self) -> Option<&CurrencyCodeValues>
The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are specified. At this time, the only supported currency is USD
.
sourcepub fn purchase(&self) -> Option<&[Purchase]>
pub fn purchase(&self) -> Option<&[Purchase]>
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
sourcepub fn total_hourly_price(&self) -> Option<&str>
pub fn total_hourly_price(&self) -> Option<&str>
The potential total hourly price of the reservation per hour.
sourcepub fn total_upfront_price(&self) -> Option<&str>
pub fn total_upfront_price(&self) -> Option<&str>
The potential total upfront price. This is billed immediately.
source§impl GetHostReservationPurchasePreviewOutput
impl GetHostReservationPurchasePreviewOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetHostReservationPurchasePreviewOutput
.
Trait Implementations§
source§impl Clone for GetHostReservationPurchasePreviewOutput
impl Clone for GetHostReservationPurchasePreviewOutput
source§fn clone(&self) -> GetHostReservationPurchasePreviewOutput
fn clone(&self) -> GetHostReservationPurchasePreviewOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<GetHostReservationPurchasePreviewOutput> for GetHostReservationPurchasePreviewOutput
impl PartialEq<GetHostReservationPurchasePreviewOutput> for GetHostReservationPurchasePreviewOutput
source§fn eq(&self, other: &GetHostReservationPurchasePreviewOutput) -> bool
fn eq(&self, other: &GetHostReservationPurchasePreviewOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.