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§
Source§impl Clone for GetHostReservationPurchasePreviewResult
impl Clone for GetHostReservationPurchasePreviewResult
Source§fn clone(&self) -> GetHostReservationPurchasePreviewResult
fn clone(&self) -> GetHostReservationPurchasePreviewResult
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 GetHostReservationPurchasePreviewResult
impl Default for GetHostReservationPurchasePreviewResult
Source§fn default() -> GetHostReservationPurchasePreviewResult
fn default() -> GetHostReservationPurchasePreviewResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetHostReservationPurchasePreviewResult
impl PartialEq for GetHostReservationPurchasePreviewResult
Source§fn eq(&self, other: &GetHostReservationPurchasePreviewResult) -> bool
fn eq(&self, other: &GetHostReservationPurchasePreviewResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetHostReservationPurchasePreviewResult
Auto Trait Implementations§
impl Freeze for GetHostReservationPurchasePreviewResult
impl RefUnwindSafe for GetHostReservationPurchasePreviewResult
impl Send for GetHostReservationPurchasePreviewResult
impl Sync for GetHostReservationPurchasePreviewResult
impl Unpin for GetHostReservationPurchasePreviewResult
impl UnwindSafe for GetHostReservationPurchasePreviewResult
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