pub struct InterruptibleCapacityReservationAllocation {
pub allocation_id: String,
pub capacity_reservation_id: String,
pub instance_count: i32,
pub start_date_time: String,
pub end_date_time: String,
pub state: String,
pub allocation_type: String,
pub tags: Tags,
}Expand description
Interruptible capacity-reservation allocation record.
Fields§
§allocation_id: String§capacity_reservation_id: String§instance_count: i32§start_date_time: String§end_date_time: String§state: StringOne of “scheduled”, “active”, “completed”, “failed”, “cancelled”.
allocation_type: StringOne of “scheduled”, “on-demand”.
Trait Implementations§
Source§impl Clone for InterruptibleCapacityReservationAllocation
impl Clone for InterruptibleCapacityReservationAllocation
Source§fn clone(&self) -> InterruptibleCapacityReservationAllocation
fn clone(&self) -> InterruptibleCapacityReservationAllocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<&InterruptibleCapacityReservationAllocation> for InterruptibleCapacityReservationAllocationView
impl From<&InterruptibleCapacityReservationAllocation> for InterruptibleCapacityReservationAllocationView
Source§fn from(a: &InterruptibleCapacityReservationAllocation) -> Self
fn from(a: &InterruptibleCapacityReservationAllocation) -> Self
Converts to this type from the input type.
Source§impl From<InterruptibleCapacityReservationAllocationView> for InterruptibleCapacityReservationAllocation
impl From<InterruptibleCapacityReservationAllocationView> for InterruptibleCapacityReservationAllocation
Source§fn from(a: InterruptibleCapacityReservationAllocationView) -> Self
fn from(a: InterruptibleCapacityReservationAllocationView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InterruptibleCapacityReservationAllocation
impl RefUnwindSafe for InterruptibleCapacityReservationAllocation
impl Send for InterruptibleCapacityReservationAllocation
impl Sync for InterruptibleCapacityReservationAllocation
impl Unpin for InterruptibleCapacityReservationAllocation
impl UnsafeUnpin for InterruptibleCapacityReservationAllocation
impl UnwindSafe for InterruptibleCapacityReservationAllocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.