pub struct AvailableCapacity {
pub available_instance_capacity: Option<Vec<InstanceCapacity>>,
pub available_v_cpus: Option<i64>,
}Expand description
The capacity information for instances that can be launched onto the Dedicated Host.
Fields§
§available_instance_capacity: Option<Vec<InstanceCapacity>>The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
available_v_cpus: Option<i64>The number of vCPUs available for launching instances onto the Dedicated Host.
Trait Implementations§
Source§impl Clone for AvailableCapacity
impl Clone for AvailableCapacity
Source§fn clone(&self) -> AvailableCapacity
fn clone(&self) -> AvailableCapacity
Returns a duplicate 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 AvailableCapacity
impl Debug for AvailableCapacity
Source§impl Default for AvailableCapacity
impl Default for AvailableCapacity
Source§fn default() -> AvailableCapacity
fn default() -> AvailableCapacity
Returns the “default value” for a type. Read more
Source§impl PartialEq for AvailableCapacity
impl PartialEq for AvailableCapacity
impl StructuralPartialEq for AvailableCapacity
Auto Trait Implementations§
impl Freeze for AvailableCapacity
impl RefUnwindSafe for AvailableCapacity
impl Send for AvailableCapacity
impl Sync for AvailableCapacity
impl Unpin for AvailableCapacity
impl UnwindSafe for AvailableCapacity
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