Struct rusoto_ec2::DescribeHostReservationsRequest [−][src]
pub struct DescribeHostReservationsRequest { pub filter: Option<Vec<Filter>>, pub host_reservation_id_set: Option<Vec<String>>, pub max_results: Option<i64>, pub next_token: Option<String>, }
Fields
filter: Option<Vec<Filter>>
One or more filters.
-
instance-family
- The instance family (e.g.,m4
). -
payment-option
- The payment option (NoUpfront
|PartialUpfront
|AllUpfront
). -
state
- The state of the reservation (payment-pending
|payment-failed
|active
|retired
).
host_reservation_id_set: Option<Vec<String>>
One or more host reservation IDs.
max_results: Option<i64>
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken
value. This value can be between 5 and 500; if maxResults
is given a larger value than 500, you will receive an error.
next_token: Option<String>
The token to use to retrieve the next page of results.
Trait Implementations
impl Default for DescribeHostReservationsRequest
[src]
impl Default for DescribeHostReservationsRequest
fn default() -> DescribeHostReservationsRequest
[src]
fn default() -> DescribeHostReservationsRequest
Returns the "default value" for a type. Read more
impl Debug for DescribeHostReservationsRequest
[src]
impl Debug for DescribeHostReservationsRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for DescribeHostReservationsRequest
[src]
impl Clone for DescribeHostReservationsRequest
fn clone(&self) -> DescribeHostReservationsRequest
[src]
fn clone(&self) -> DescribeHostReservationsRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for DescribeHostReservationsRequest
[src]
impl PartialEq for DescribeHostReservationsRequest
fn eq(&self, other: &DescribeHostReservationsRequest) -> bool
[src]
fn eq(&self, other: &DescribeHostReservationsRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DescribeHostReservationsRequest) -> bool
[src]
fn ne(&self, other: &DescribeHostReservationsRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for DescribeHostReservationsRequest
impl Send for DescribeHostReservationsRequest
impl Sync for DescribeHostReservationsRequest
impl Sync for DescribeHostReservationsRequest