[−][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.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the Dedicated Host Reservation during purchase.
Trait Implementations
impl Clone for PurchaseHostReservationRequest
[src]
pub fn clone(&self) -> PurchaseHostReservationRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PurchaseHostReservationRequest
[src]
impl Default for PurchaseHostReservationRequest
[src]
pub fn default() -> PurchaseHostReservationRequest
[src]
impl PartialEq<PurchaseHostReservationRequest> for PurchaseHostReservationRequest
[src]
pub fn eq(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
pub fn ne(&self, other: &PurchaseHostReservationRequest) -> bool
[src]
impl StructuralPartialEq for PurchaseHostReservationRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for PurchaseHostReservationRequest
[src]
impl Send for PurchaseHostReservationRequest
[src]
impl Sync for PurchaseHostReservationRequest
[src]
impl Unpin for PurchaseHostReservationRequest
[src]
impl UnwindSafe for PurchaseHostReservationRequest
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,