Struct aws_sdk_ec2::model::CapacityReservationTarget [−][src]
#[non_exhaustive]pub struct CapacityReservationTarget {
pub capacity_reservation_id: Option<String>,
pub capacity_reservation_resource_group_arn: Option<String>,
}
Expand description
Describes a target Capacity Reservation or Capacity Reservation group.
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.capacity_reservation_id: Option<String>
The ID of the Capacity Reservation in which to run the instance.
capacity_reservation_resource_group_arn: Option<String>
The ARN of the Capacity Reservation resource group in which to run the instance.
Implementations
The ID of the Capacity Reservation in which to run the instance.
The ARN of the Capacity Reservation resource group in which to run the instance.
Creates a new builder-style object to manufacture CapacityReservationTarget
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 CapacityReservationTarget
impl Send for CapacityReservationTarget
impl Sync for CapacityReservationTarget
impl Unpin for CapacityReservationTarget
impl UnwindSafe for CapacityReservationTarget
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