pub struct CapacityBlock {Show 14 fields
pub capacity_block_id: String,
pub capacity_reservation_id: String,
pub capacity_block_offering_id: String,
pub instance_type: String,
pub instance_count: i32,
pub availability_zone: String,
pub start_date: String,
pub end_date: String,
pub tenancy: String,
pub currency_code: String,
pub upfront_fee: String,
pub commitment_duration_in_seconds: i64,
pub capacity_reservation_arn: String,
pub tags: Tags,
}Expand description
A Capacity Block purchase record (fixed-duration capacity reservation).
Fields§
§capacity_block_id: String§capacity_reservation_id: String§capacity_block_offering_id: String§instance_type: String§instance_count: i32§availability_zone: String§start_date: String§end_date: String§tenancy: StringOne of “default”, “dedicated”.
currency_code: String§upfront_fee: String§commitment_duration_in_seconds: i64§capacity_reservation_arn: StringTrait Implementations§
Source§impl Clone for CapacityBlock
impl Clone for CapacityBlock
Source§fn clone(&self) -> CapacityBlock
fn clone(&self) -> CapacityBlock
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 Debug for CapacityBlock
impl Debug for CapacityBlock
Source§impl From<&CapacityBlock> for CapacityBlockView
impl From<&CapacityBlock> for CapacityBlockView
Source§fn from(b: &CapacityBlock) -> Self
fn from(b: &CapacityBlock) -> Self
Converts to this type from the input type.
Source§impl From<CapacityBlockView> for CapacityBlock
impl From<CapacityBlockView> for CapacityBlock
Source§fn from(b: CapacityBlockView) -> Self
fn from(b: CapacityBlockView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CapacityBlock
impl RefUnwindSafe for CapacityBlock
impl Send for CapacityBlock
impl Sync for CapacityBlock
impl Unpin for CapacityBlock
impl UnsafeUnpin for CapacityBlock
impl UnwindSafe for CapacityBlock
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.