Struct aws_sdk_outposts::types::Ec2Capacity
source · #[non_exhaustive]pub struct Ec2Capacity {
pub family: Option<String>,
pub max_size: Option<String>,
pub quantity: Option<String>,
}
Expand description
Information about EC2 capacity.
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.family: Option<String>
The family of the EC2 capacity.
max_size: Option<String>
The maximum size of the EC2 capacity.
quantity: Option<String>
The quantity of the EC2 capacity.
Implementations§
source§impl Ec2Capacity
impl Ec2Capacity
source§impl Ec2Capacity
impl Ec2Capacity
sourcepub fn builder() -> Ec2CapacityBuilder
pub fn builder() -> Ec2CapacityBuilder
Creates a new builder-style object to manufacture Ec2Capacity
.
Trait Implementations§
source§impl Clone for Ec2Capacity
impl Clone for Ec2Capacity
source§fn clone(&self) -> Ec2Capacity
fn clone(&self) -> Ec2Capacity
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 Ec2Capacity
impl Debug for Ec2Capacity
source§impl PartialEq for Ec2Capacity
impl PartialEq for Ec2Capacity
source§fn eq(&self, other: &Ec2Capacity) -> bool
fn eq(&self, other: &Ec2Capacity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ec2Capacity
Auto Trait Implementations§
impl RefUnwindSafe for Ec2Capacity
impl Send for Ec2Capacity
impl Sync for Ec2Capacity
impl Unpin for Ec2Capacity
impl UnwindSafe for Ec2Capacity
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.