Struct aws_sdk_ec2::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewInput
source · #[non_exhaustive]pub struct GetHostReservationPurchasePreviewInput {
pub host_id_set: Option<Vec<String>>,
pub offering_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.host_id_set: Option<Vec<String>>
The IDs of the Dedicated Hosts with which the reservation is associated.
offering_id: Option<String>
The offering ID of the reservation.
Implementations§
source§impl GetHostReservationPurchasePreviewInput
impl GetHostReservationPurchasePreviewInput
sourcepub fn host_id_set(&self) -> &[String]
pub fn host_id_set(&self) -> &[String]
The IDs of the Dedicated Hosts with which the reservation is associated.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .host_id_set.is_none()
.
sourcepub fn offering_id(&self) -> Option<&str>
pub fn offering_id(&self) -> Option<&str>
The offering ID of the reservation.
source§impl GetHostReservationPurchasePreviewInput
impl GetHostReservationPurchasePreviewInput
sourcepub fn builder() -> GetHostReservationPurchasePreviewInputBuilder
pub fn builder() -> GetHostReservationPurchasePreviewInputBuilder
Creates a new builder-style object to manufacture GetHostReservationPurchasePreviewInput
.
Trait Implementations§
source§impl Clone for GetHostReservationPurchasePreviewInput
impl Clone for GetHostReservationPurchasePreviewInput
source§fn clone(&self) -> GetHostReservationPurchasePreviewInput
fn clone(&self) -> GetHostReservationPurchasePreviewInput
Returns a copy 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 PartialEq for GetHostReservationPurchasePreviewInput
impl PartialEq for GetHostReservationPurchasePreviewInput
source§fn eq(&self, other: &GetHostReservationPurchasePreviewInput) -> bool
fn eq(&self, other: &GetHostReservationPurchasePreviewInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetHostReservationPurchasePreviewInput
Auto Trait Implementations§
impl Freeze for GetHostReservationPurchasePreviewInput
impl RefUnwindSafe for GetHostReservationPurchasePreviewInput
impl Send for GetHostReservationPurchasePreviewInput
impl Sync for GetHostReservationPurchasePreviewInput
impl Unpin for GetHostReservationPurchasePreviewInput
impl UnwindSafe for GetHostReservationPurchasePreviewInput
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> 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>
Creates a shared type from an unshared type.