Struct aws_sdk_ec2::model::InstanceCapacity [−][src]
#[non_exhaustive]pub struct InstanceCapacity {
pub available_capacity: Option<i32>,
pub instance_type: Option<String>,
pub total_capacity: Option<i32>,
}
Expand description
Information about the number of instances that can be launched onto the Dedicated Host.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.available_capacity: Option<i32>
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
instance_type: Option<String>
The instance type supported by the Dedicated Host.
total_capacity: Option<i32>
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
Implementations
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
The instance type supported by the Dedicated Host.
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
Creates a new builder-style object to manufacture InstanceCapacity
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InstanceCapacity
impl Send for InstanceCapacity
impl Sync for InstanceCapacity
impl Unpin for InstanceCapacity
impl UnwindSafe for InstanceCapacity
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more