Struct aws_sdk_ec2::model::HostOffering
source · [−]#[non_exhaustive]pub struct HostOffering { /* private fields */ }
Expand description
Details about the Dedicated Host Reservation offering.
Implementations
sourceimpl HostOffering
impl HostOffering
sourcepub fn currency_code(&self) -> Option<&CurrencyCodeValues>
pub fn currency_code(&self) -> Option<&CurrencyCodeValues>
The currency of the offering.
sourcepub fn hourly_price(&self) -> Option<&str>
pub fn hourly_price(&self) -> Option<&str>
The hourly price of the offering.
sourcepub fn instance_family(&self) -> Option<&str>
pub fn instance_family(&self) -> Option<&str>
The instance family of the offering.
sourcepub fn offering_id(&self) -> Option<&str>
pub fn offering_id(&self) -> Option<&str>
The ID of the offering.
sourcepub fn payment_option(&self) -> Option<&PaymentOption>
pub fn payment_option(&self) -> Option<&PaymentOption>
The available payment option.
sourcepub fn upfront_price(&self) -> Option<&str>
pub fn upfront_price(&self) -> Option<&str>
The upfront price of the offering. Does not apply to No Upfront offerings.
sourceimpl HostOffering
impl HostOffering
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture HostOffering
.
Trait Implementations
sourceimpl Clone for HostOffering
impl Clone for HostOffering
sourcefn clone(&self) -> HostOffering
fn clone(&self) -> HostOffering
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 HostOffering
impl Debug for HostOffering
sourceimpl PartialEq<HostOffering> for HostOffering
impl PartialEq<HostOffering> for HostOffering
sourcefn eq(&self, other: &HostOffering) -> bool
fn eq(&self, other: &HostOffering) -> bool
impl StructuralPartialEq for HostOffering
Auto Trait Implementations
impl RefUnwindSafe for HostOffering
impl Send for HostOffering
impl Sync for HostOffering
impl Unpin for HostOffering
impl UnwindSafe for HostOffering
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