#[non_exhaustive]pub struct AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails { /* private fields */ }
Expand description
Provides details about the market (purchasing) option for an Amazon EC2 instance.
Implementations§
source§impl AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
impl AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
sourcepub fn market_type(&self) -> Option<&str>
pub fn market_type(&self) -> Option<&str>
The market type.
sourcepub fn spot_options(
&self
) -> Option<&AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails>
pub fn spot_options(
&self
) -> Option<&AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails>
The options for Spot Instances.
source§impl AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
impl AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
impl Clone for AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
source§fn clone(&self) -> AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
fn clone(&self) -> AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
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 PartialEq<AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails> for AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
impl PartialEq<AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails> for AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
) -> bool
fn eq(
&self,
other: &AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails
) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.