Struct rusoto_ec2::PurchaseHostReservationResult
source · [−]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 Ensuring 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
sourceimpl Clone for PurchaseHostReservationResult
impl Clone for PurchaseHostReservationResult
sourcefn clone(&self) -> PurchaseHostReservationResult
fn clone(&self) -> PurchaseHostReservationResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PurchaseHostReservationResult
impl Debug for PurchaseHostReservationResult
sourceimpl Default for PurchaseHostReservationResult
impl Default for PurchaseHostReservationResult
sourcefn default() -> PurchaseHostReservationResult
fn default() -> PurchaseHostReservationResult
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PurchaseHostReservationResult> for PurchaseHostReservationResult
impl PartialEq<PurchaseHostReservationResult> for PurchaseHostReservationResult
sourcefn eq(&self, other: &PurchaseHostReservationResult) -> bool
fn eq(&self, other: &PurchaseHostReservationResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PurchaseHostReservationResult) -> bool
fn ne(&self, other: &PurchaseHostReservationResult) -> bool
This method tests for !=
.
impl StructuralPartialEq for PurchaseHostReservationResult
Auto Trait Implementations
impl RefUnwindSafe for PurchaseHostReservationResult
impl Send for PurchaseHostReservationResult
impl Sync for PurchaseHostReservationResult
impl Unpin for PurchaseHostReservationResult
impl UnwindSafe for PurchaseHostReservationResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more