#[non_exhaustive]pub struct PurchaseHostReservationOutput { /* private fields */ }
Implementations§
source§impl PurchaseHostReservationOutput
impl PurchaseHostReservationOutput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
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 total_hourly_price(&self) -> Option<&str>
pub fn total_hourly_price(&self) -> Option<&str>
The total hourly price of the reservation calculated per hour.
sourcepub fn total_upfront_price(&self) -> Option<&str>
pub fn total_upfront_price(&self) -> Option<&str>
The total amount charged to your account when you purchase the reservation.
source§impl PurchaseHostReservationOutput
impl PurchaseHostReservationOutput
sourcepub fn builder() -> PurchaseHostReservationOutputBuilder
pub fn builder() -> PurchaseHostReservationOutputBuilder
Creates a new builder-style object to manufacture PurchaseHostReservationOutput
.
Trait Implementations§
source§impl Clone for PurchaseHostReservationOutput
impl Clone for PurchaseHostReservationOutput
source§fn clone(&self) -> PurchaseHostReservationOutput
fn clone(&self) -> PurchaseHostReservationOutput
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<PurchaseHostReservationOutput> for PurchaseHostReservationOutput
impl PartialEq<PurchaseHostReservationOutput> for PurchaseHostReservationOutput
source§fn eq(&self, other: &PurchaseHostReservationOutput) -> bool
fn eq(&self, other: &PurchaseHostReservationOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PurchaseHostReservationOutput
impl RequestId for PurchaseHostReservationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for PurchaseHostReservationOutput
Auto Trait Implementations§
impl RefUnwindSafe for PurchaseHostReservationOutput
impl Send for PurchaseHostReservationOutput
impl Sync for PurchaseHostReservationOutput
impl Unpin for PurchaseHostReservationOutput
impl UnwindSafe for PurchaseHostReservationOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more