pub struct InstanceSelection {
pub instance_type: &'static str,
pub profile: MachineProfile,
pub min_machines: u32,
pub max_machines: u32,
}Expand description
Result of instance type selection.
Fields§
§instance_type: &'static strSelected instance type name (e.g., “m7g.2xlarge”)
profile: MachineProfileMachine profile derived from the instance type
min_machines: u32Recommended minimum number of machines
max_machines: u32Recommended maximum number of machines
Trait Implementations§
Source§impl Clone for InstanceSelection
impl Clone for InstanceSelection
Source§fn clone(&self) -> InstanceSelection
fn clone(&self) -> InstanceSelection
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 moreAuto Trait Implementations§
impl Freeze for InstanceSelection
impl RefUnwindSafe for InstanceSelection
impl Send for InstanceSelection
impl Sync for InstanceSelection
impl Unpin for InstanceSelection
impl UnsafeUnpin for InstanceSelection
impl UnwindSafe for InstanceSelection
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