pub struct CapacityBlockView {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: HashMap<String, String>,
}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: String§currency_code: String§upfront_fee: String§commitment_duration_in_seconds: i64§capacity_reservation_arn: StringTrait Implementations§
Source§impl Clone for CapacityBlockView
impl Clone for CapacityBlockView
Source§fn clone(&self) -> CapacityBlockView
fn clone(&self) -> CapacityBlockView
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 CapacityBlockView
impl Debug for CapacityBlockView
Source§impl<'de> Deserialize<'de> for CapacityBlockView
impl<'de> Deserialize<'de> for CapacityBlockView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 CapacityBlockView
impl RefUnwindSafe for CapacityBlockView
impl Send for CapacityBlockView
impl Sync for CapacityBlockView
impl Unpin for CapacityBlockView
impl UnsafeUnpin for CapacityBlockView
impl UnwindSafe for CapacityBlockView
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.