pub struct LaunchTemplateCapacityReservationSpecificationResponse {
pub capacity_reservation_preference: Option<String>,
pub capacity_reservation_target: Option<CapacityReservationTargetResponse>,
}Expand description
Information about the Capacity Reservation targeting option.
Fields§
§capacity_reservation_preference: Option<String>Indicates the instance's Capacity Reservation preferences. Possible preferences include:
-
open- The instance can run in anyopenCapacity Reservation that has matching attributes (instance type, platform, Availability Zone). -
none- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
capacity_reservation_target: Option<CapacityReservationTargetResponse>Information about the target Capacity Reservation.
Trait Implementations§
Source§impl Clone for LaunchTemplateCapacityReservationSpecificationResponse
impl Clone for LaunchTemplateCapacityReservationSpecificationResponse
Source§fn clone(&self) -> LaunchTemplateCapacityReservationSpecificationResponse
fn clone(&self) -> LaunchTemplateCapacityReservationSpecificationResponse
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 Default for LaunchTemplateCapacityReservationSpecificationResponse
impl Default for LaunchTemplateCapacityReservationSpecificationResponse
Source§fn default() -> LaunchTemplateCapacityReservationSpecificationResponse
fn default() -> LaunchTemplateCapacityReservationSpecificationResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for LaunchTemplateCapacityReservationSpecificationResponse
impl PartialEq for LaunchTemplateCapacityReservationSpecificationResponse
Source§fn eq(
&self,
other: &LaunchTemplateCapacityReservationSpecificationResponse,
) -> bool
fn eq( &self, other: &LaunchTemplateCapacityReservationSpecificationResponse, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LaunchTemplateCapacityReservationSpecificationResponse
Auto Trait Implementations§
impl Freeze for LaunchTemplateCapacityReservationSpecificationResponse
impl RefUnwindSafe for LaunchTemplateCapacityReservationSpecificationResponse
impl Send for LaunchTemplateCapacityReservationSpecificationResponse
impl Sync for LaunchTemplateCapacityReservationSpecificationResponse
impl Unpin for LaunchTemplateCapacityReservationSpecificationResponse
impl UnwindSafe for LaunchTemplateCapacityReservationSpecificationResponse
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