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 that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
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 charged to your account when you purchase the reservation.
Trait Implementations§
Source§impl Clone for PurchaseHostReservationResult
impl Clone for PurchaseHostReservationResult
Source§fn clone(&self) -> PurchaseHostReservationResult
fn clone(&self) -> PurchaseHostReservationResult
Returns a duplicate 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 Default for PurchaseHostReservationResult
impl Default for PurchaseHostReservationResult
Source§fn default() -> PurchaseHostReservationResult
fn default() -> PurchaseHostReservationResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for PurchaseHostReservationResult
impl PartialEq for PurchaseHostReservationResult
Source§fn eq(&self, other: &PurchaseHostReservationResult) -> bool
fn eq(&self, other: &PurchaseHostReservationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PurchaseHostReservationResult
Auto Trait Implementations§
impl Freeze for PurchaseHostReservationResult
impl RefUnwindSafe for PurchaseHostReservationResult
impl Send for PurchaseHostReservationResult
impl Sync for PurchaseHostReservationResult
impl Unpin for PurchaseHostReservationResult
impl UnwindSafe for PurchaseHostReservationResult
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