Struct rusoto_ec2::PriceScheduleSpecification [−][src]
pub struct PriceScheduleSpecification { pub currency_code: Option<String>, pub price: Option<f64>, pub term: Option<i64>, }
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
impl Default for PriceScheduleSpecification
[src]
impl Default for PriceScheduleSpecification
fn default() -> PriceScheduleSpecification
[src]
fn default() -> PriceScheduleSpecification
Returns the "default value" for a type. Read more
impl Debug for PriceScheduleSpecification
[src]
impl Debug for PriceScheduleSpecification
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PriceScheduleSpecification
[src]
impl Clone for PriceScheduleSpecification
fn clone(&self) -> PriceScheduleSpecification
[src]
fn clone(&self) -> PriceScheduleSpecification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for PriceScheduleSpecification
[src]
impl PartialEq for PriceScheduleSpecification
fn eq(&self, other: &PriceScheduleSpecification) -> bool
[src]
fn eq(&self, other: &PriceScheduleSpecification) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PriceScheduleSpecification) -> bool
[src]
fn ne(&self, other: &PriceScheduleSpecification) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PriceScheduleSpecification
impl Send for PriceScheduleSpecification
impl Sync for PriceScheduleSpecification
impl Sync for PriceScheduleSpecification