#[non_exhaustive]pub struct GetServiceQuotaInput {
pub service_code: Option<String>,
pub quota_code: Option<String>,
pub context_id: Option<String>,
}
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.service_code: Option<String>
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices
operation.
quota_code: Option<String>
Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas
operation, and look for the QuotaCode
response in the output for the quota you want.
context_id: Option<String>
Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
Implementations§
source§impl GetServiceQuotaInput
impl GetServiceQuotaInput
sourcepub fn service_code(&self) -> Option<&str>
pub fn service_code(&self) -> Option<&str>
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices
operation.
sourcepub fn quota_code(&self) -> Option<&str>
pub fn quota_code(&self) -> Option<&str>
Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas
operation, and look for the QuotaCode
response in the output for the quota you want.
sourcepub fn context_id(&self) -> Option<&str>
pub fn context_id(&self) -> Option<&str>
Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
source§impl GetServiceQuotaInput
impl GetServiceQuotaInput
sourcepub fn builder() -> GetServiceQuotaInputBuilder
pub fn builder() -> GetServiceQuotaInputBuilder
Creates a new builder-style object to manufacture GetServiceQuotaInput
.
Trait Implementations§
source§impl Clone for GetServiceQuotaInput
impl Clone for GetServiceQuotaInput
source§fn clone(&self) -> GetServiceQuotaInput
fn clone(&self) -> GetServiceQuotaInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetServiceQuotaInput
impl Debug for GetServiceQuotaInput
source§impl PartialEq for GetServiceQuotaInput
impl PartialEq for GetServiceQuotaInput
source§fn eq(&self, other: &GetServiceQuotaInput) -> bool
fn eq(&self, other: &GetServiceQuotaInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetServiceQuotaInput
Auto Trait Implementations§
impl Freeze for GetServiceQuotaInput
impl RefUnwindSafe for GetServiceQuotaInput
impl Send for GetServiceQuotaInput
impl Sync for GetServiceQuotaInput
impl Unpin for GetServiceQuotaInput
impl UnwindSafe for GetServiceQuotaInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more