Struct aws_sdk_ec2::model::ReservedInstancesListing
source · [−]#[non_exhaustive]pub struct ReservedInstancesListing {
pub client_token: Option<String>,
pub create_date: Option<DateTime>,
pub instance_counts: Option<Vec<InstanceCount>>,
pub price_schedules: Option<Vec<PriceSchedule>>,
pub reserved_instances_id: Option<String>,
pub reserved_instances_listing_id: Option<String>,
pub status: Option<ListingStatus>,
pub status_message: Option<String>,
pub tags: Option<Vec<Tag>>,
pub update_date: Option<DateTime>,
}
Expand description
Describes a Reserved Instance listing.
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.client_token: Option<String>
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
create_date: Option<DateTime>
The time the listing was created.
instance_counts: Option<Vec<InstanceCount>>
The number of instances in this state.
price_schedules: Option<Vec<PriceSchedule>>
The price of the Reserved Instance listing.
reserved_instances_id: Option<String>
The ID of the Reserved Instance.
reserved_instances_listing_id: Option<String>
The ID of the Reserved Instance listing.
status: Option<ListingStatus>
The status of the Reserved Instance listing.
status_message: Option<String>
The reason for the current status of the Reserved Instance listing. The response can be blank.
Any tags assigned to the resource.
update_date: Option<DateTime>
The last modified timestamp of the listing.
Implementations
sourceimpl ReservedInstancesListing
impl ReservedInstancesListing
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The time the listing was created.
sourcepub fn instance_counts(&self) -> Option<&[InstanceCount]>
pub fn instance_counts(&self) -> Option<&[InstanceCount]>
The number of instances in this state.
sourcepub fn price_schedules(&self) -> Option<&[PriceSchedule]>
pub fn price_schedules(&self) -> Option<&[PriceSchedule]>
The price of the Reserved Instance listing.
sourcepub fn reserved_instances_id(&self) -> Option<&str>
pub fn reserved_instances_id(&self) -> Option<&str>
The ID of the Reserved Instance.
sourcepub fn reserved_instances_listing_id(&self) -> Option<&str>
pub fn reserved_instances_listing_id(&self) -> Option<&str>
The ID of the Reserved Instance listing.
sourcepub fn status(&self) -> Option<&ListingStatus>
pub fn status(&self) -> Option<&ListingStatus>
The status of the Reserved Instance listing.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The reason for the current status of the Reserved Instance listing. The response can be blank.
Any tags assigned to the resource.
sourcepub fn update_date(&self) -> Option<&DateTime>
pub fn update_date(&self) -> Option<&DateTime>
The last modified timestamp of the listing.
sourceimpl ReservedInstancesListing
impl ReservedInstancesListing
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReservedInstancesListing
.
Trait Implementations
sourceimpl Clone for ReservedInstancesListing
impl Clone for ReservedInstancesListing
sourcefn clone(&self) -> ReservedInstancesListing
fn clone(&self) -> ReservedInstancesListing
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReservedInstancesListing
impl Debug for ReservedInstancesListing
sourceimpl PartialEq<ReservedInstancesListing> for ReservedInstancesListing
impl PartialEq<ReservedInstancesListing> for ReservedInstancesListing
sourcefn eq(&self, other: &ReservedInstancesListing) -> bool
fn eq(&self, other: &ReservedInstancesListing) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReservedInstancesListing) -> bool
fn ne(&self, other: &ReservedInstancesListing) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReservedInstancesListing
Auto Trait Implementations
impl RefUnwindSafe for ReservedInstancesListing
impl Send for ReservedInstancesListing
impl Sync for ReservedInstancesListing
impl Unpin for ReservedInstancesListing
impl UnwindSafe for ReservedInstancesListing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more