#[non_exhaustive]pub struct ServiceManagedEc2FleetConfiguration {
pub instance_capabilities: Option<ServiceManagedEc2InstanceCapabilities>,
pub instance_market_options: Option<ServiceManagedEc2InstanceMarketOptions>,
}Expand description
The configuration details for a service managed Amazon EC2 fleet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.instance_capabilities: Option<ServiceManagedEc2InstanceCapabilities>The Amazon EC2 instance capabilities.
instance_market_options: Option<ServiceManagedEc2InstanceMarketOptions>The Amazon EC2 market type.
Implementations§
source§impl ServiceManagedEc2FleetConfiguration
impl ServiceManagedEc2FleetConfiguration
sourcepub fn instance_capabilities(
&self
) -> Option<&ServiceManagedEc2InstanceCapabilities>
pub fn instance_capabilities( &self ) -> Option<&ServiceManagedEc2InstanceCapabilities>
The Amazon EC2 instance capabilities.
sourcepub fn instance_market_options(
&self
) -> Option<&ServiceManagedEc2InstanceMarketOptions>
pub fn instance_market_options( &self ) -> Option<&ServiceManagedEc2InstanceMarketOptions>
The Amazon EC2 market type.
source§impl ServiceManagedEc2FleetConfiguration
impl ServiceManagedEc2FleetConfiguration
sourcepub fn builder() -> ServiceManagedEc2FleetConfigurationBuilder
pub fn builder() -> ServiceManagedEc2FleetConfigurationBuilder
Creates a new builder-style object to manufacture ServiceManagedEc2FleetConfiguration.
Trait Implementations§
source§impl Clone for ServiceManagedEc2FleetConfiguration
impl Clone for ServiceManagedEc2FleetConfiguration
source§fn clone(&self) -> ServiceManagedEc2FleetConfiguration
fn clone(&self) -> ServiceManagedEc2FleetConfiguration
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 for ServiceManagedEc2FleetConfiguration
impl PartialEq for ServiceManagedEc2FleetConfiguration
source§fn eq(&self, other: &ServiceManagedEc2FleetConfiguration) -> bool
fn eq(&self, other: &ServiceManagedEc2FleetConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ServiceManagedEc2FleetConfiguration
Auto Trait Implementations§
impl Freeze for ServiceManagedEc2FleetConfiguration
impl RefUnwindSafe for ServiceManagedEc2FleetConfiguration
impl Send for ServiceManagedEc2FleetConfiguration
impl Sync for ServiceManagedEc2FleetConfiguration
impl Unpin for ServiceManagedEc2FleetConfiguration
impl UnwindSafe for ServiceManagedEc2FleetConfiguration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.