Struct aws_sdk_ec2::types::PriceScheduleSpecification
source · #[non_exhaustive]pub struct PriceScheduleSpecification { /* private fields */ }
Expand description
Describes the price for a Reserved Instance.
Implementations§
source§impl PriceScheduleSpecification
impl PriceScheduleSpecification
sourcepub fn currency_code(&self) -> Option<&CurrencyCodeValues>
pub fn currency_code(&self) -> Option<&CurrencyCodeValues>
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD
.
source§impl PriceScheduleSpecification
impl PriceScheduleSpecification
sourcepub fn builder() -> PriceScheduleSpecificationBuilder
pub fn builder() -> PriceScheduleSpecificationBuilder
Creates a new builder-style object to manufacture PriceScheduleSpecification
.
Trait Implementations§
source§impl Clone for PriceScheduleSpecification
impl Clone for PriceScheduleSpecification
source§fn clone(&self) -> PriceScheduleSpecification
fn clone(&self) -> PriceScheduleSpecification
Returns a copy 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 PartialEq<PriceScheduleSpecification> for PriceScheduleSpecification
impl PartialEq<PriceScheduleSpecification> for PriceScheduleSpecification
source§fn eq(&self, other: &PriceScheduleSpecification) -> bool
fn eq(&self, other: &PriceScheduleSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PriceScheduleSpecification
Auto Trait Implementations§
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