Struct aws_sdk_ec2::model::ReservationValue
source · [−]#[non_exhaustive]pub struct ReservationValue { /* private fields */ }
Expand description
The cost associated with the Reserved Instance.
Implementations
sourceimpl ReservationValue
impl ReservationValue
sourcepub fn hourly_price(&self) -> Option<&str>
pub fn hourly_price(&self) -> Option<&str>
The hourly rate of the reservation.
sourcepub fn remaining_total_value(&self) -> Option<&str>
pub fn remaining_total_value(&self) -> Option<&str>
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
sourcepub fn remaining_upfront_value(&self) -> Option<&str>
pub fn remaining_upfront_value(&self) -> Option<&str>
The remaining upfront cost of the reservation.
sourceimpl ReservationValue
impl ReservationValue
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReservationValue
.
Trait Implementations
sourceimpl Clone for ReservationValue
impl Clone for ReservationValue
sourcefn clone(&self) -> ReservationValue
fn clone(&self) -> ReservationValue
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 moresourceimpl Debug for ReservationValue
impl Debug for ReservationValue
sourceimpl PartialEq<ReservationValue> for ReservationValue
impl PartialEq<ReservationValue> for ReservationValue
sourcefn eq(&self, other: &ReservationValue) -> bool
fn eq(&self, other: &ReservationValue) -> bool
impl StructuralPartialEq for ReservationValue
Auto Trait Implementations
impl RefUnwindSafe for ReservationValue
impl Send for ReservationValue
impl Sync for ReservationValue
impl Unpin for ReservationValue
impl UnwindSafe for ReservationValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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