[−][src]Struct rusoto_ec2::PurchaseHostReservationRequest
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
, LimitPrice
, and totalHourlyPrice
amounts are specified. At this time, the only supported currency is USD
.
host_id_set: Vec<String>
The IDs of the Dedicated Hosts with which the reservation will be associated.
limit_price: Option<String>
The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD
. For example, to indicate a limit price of USD 100, specify 100.00.
offering_id: String
The ID of the offering.
Trait Implementations
impl Clone for PurchaseHostReservationRequest
[src]
fn clone(&self) -> PurchaseHostReservationRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PurchaseHostReservationRequest
[src]
impl Default for PurchaseHostReservationRequest
[src]
impl PartialEq<PurchaseHostReservationRequest> for PurchaseHostReservationRequest
[src]
fn eq(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
fn ne(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
impl StructuralPartialEq for PurchaseHostReservationRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for PurchaseHostReservationRequest
impl Send for PurchaseHostReservationRequest
impl Sync for PurchaseHostReservationRequest
impl Unpin for PurchaseHostReservationRequest
impl UnwindSafe for PurchaseHostReservationRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,