pub struct GetCapacityReservationUsageRequest {
pub capacity_reservation_id: String,
pub dry_run: Option<bool>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
}Fields§
§capacity_reservation_id: StringThe ID of the Capacity Reservation.
dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
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.
Valid range: Minimum value of 1. Maximum value of 1000.
next_token: Option<String>The token to retrieve the next page of results.
Trait Implementations§
Source§impl Clone for GetCapacityReservationUsageRequest
impl Clone for GetCapacityReservationUsageRequest
Source§fn clone(&self) -> GetCapacityReservationUsageRequest
fn clone(&self) -> GetCapacityReservationUsageRequest
Returns a duplicate 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 Default for GetCapacityReservationUsageRequest
impl Default for GetCapacityReservationUsageRequest
Source§fn default() -> GetCapacityReservationUsageRequest
fn default() -> GetCapacityReservationUsageRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetCapacityReservationUsageRequest
impl PartialEq for GetCapacityReservationUsageRequest
Source§fn eq(&self, other: &GetCapacityReservationUsageRequest) -> bool
fn eq(&self, other: &GetCapacityReservationUsageRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetCapacityReservationUsageRequest
Auto Trait Implementations§
impl Freeze for GetCapacityReservationUsageRequest
impl RefUnwindSafe for GetCapacityReservationUsageRequest
impl Send for GetCapacityReservationUsageRequest
impl Sync for GetCapacityReservationUsageRequest
impl Unpin for GetCapacityReservationUsageRequest
impl UnwindSafe for GetCapacityReservationUsageRequest
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