Struct rusoto_apigateway::GetUsageRequest
source · [−]pub struct GetUsageRequest {
pub end_date: String,
pub key_id: Option<String>,
pub limit: Option<i64>,
pub position: Option<String>,
pub start_date: String,
pub usage_plan_id: String,
}
Expand description
The GET request to get the usage data of a usage plan in a specified time interval.
Fields
end_date: String
[Required] The ending date (e.g., 2016-12-31) of the usage data.
key_id: Option<String>
The Id of the API key associated with the resultant usage data.
limit: Option<i64>
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
position: Option<String>
The current pagination position in the paged result set.
start_date: String
[Required] The starting date (e.g., 2016-01-01) of the usage data.
usage_plan_id: String
[Required] The Id of the usage plan associated with the usage data.
Trait Implementations
sourceimpl Clone for GetUsageRequest
impl Clone for GetUsageRequest
sourcefn clone(&self) -> GetUsageRequest
fn clone(&self) -> GetUsageRequest
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 GetUsageRequest
impl Debug for GetUsageRequest
sourceimpl Default for GetUsageRequest
impl Default for GetUsageRequest
sourcefn default() -> GetUsageRequest
fn default() -> GetUsageRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetUsageRequest> for GetUsageRequest
impl PartialEq<GetUsageRequest> for GetUsageRequest
sourcefn eq(&self, other: &GetUsageRequest) -> bool
fn eq(&self, other: &GetUsageRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetUsageRequest) -> bool
fn ne(&self, other: &GetUsageRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetUsageRequest
impl Serialize for GetUsageRequest
impl StructuralPartialEq for GetUsageRequest
Auto Trait Implementations
impl RefUnwindSafe for GetUsageRequest
impl Send for GetUsageRequest
impl Sync for GetUsageRequest
impl Unpin for GetUsageRequest
impl UnwindSafe for GetUsageRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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