pub struct PriceScheduleSpecification {
pub currency_code: Option<String>,
pub price: Option<f64>,
pub term: Option<i64>,
}Expand description
Describes the price for a Reserved Instance.
Fields§
§currency_code: Option<String>The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.
price: Option<f64>The fixed price for the term.
term: Option<i64>The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.
Trait Implementations§
Source§impl Clone for PriceScheduleSpecification
impl Clone for PriceScheduleSpecification
Source§fn clone(&self) -> PriceScheduleSpecification
fn clone(&self) -> PriceScheduleSpecification
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 Debug for PriceScheduleSpecification
impl Debug for PriceScheduleSpecification
Source§impl Default for PriceScheduleSpecification
impl Default for PriceScheduleSpecification
Source§fn default() -> PriceScheduleSpecification
fn default() -> PriceScheduleSpecification
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PriceScheduleSpecification
Auto Trait Implementations§
impl Freeze for PriceScheduleSpecification
impl RefUnwindSafe for PriceScheduleSpecification
impl Send for PriceScheduleSpecification
impl Sync for PriceScheduleSpecification
impl Unpin for PriceScheduleSpecification
impl UnwindSafe for PriceScheduleSpecification
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