#[non_exhaustive]pub struct CreateRateBasedRuleOutput {
pub rule: Option<RateBasedRule>,
pub change_token: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rule: Option<RateBasedRule>
The RateBasedRule
that is returned in the CreateRateBasedRule
response.
change_token: Option<String>
The ChangeToken
that you used to submit the CreateRateBasedRule
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus
.
Implementations§
source§impl CreateRateBasedRuleOutput
impl CreateRateBasedRuleOutput
sourcepub fn rule(&self) -> Option<&RateBasedRule>
pub fn rule(&self) -> Option<&RateBasedRule>
The RateBasedRule
that is returned in the CreateRateBasedRule
response.
sourcepub fn change_token(&self) -> Option<&str>
pub fn change_token(&self) -> Option<&str>
The ChangeToken
that you used to submit the CreateRateBasedRule
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus
.
source§impl CreateRateBasedRuleOutput
impl CreateRateBasedRuleOutput
sourcepub fn builder() -> CreateRateBasedRuleOutputBuilder
pub fn builder() -> CreateRateBasedRuleOutputBuilder
Creates a new builder-style object to manufacture CreateRateBasedRuleOutput
.
Trait Implementations§
source§impl Clone for CreateRateBasedRuleOutput
impl Clone for CreateRateBasedRuleOutput
source§fn clone(&self) -> CreateRateBasedRuleOutput
fn clone(&self) -> CreateRateBasedRuleOutput
Returns a copy 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 Debug for CreateRateBasedRuleOutput
impl Debug for CreateRateBasedRuleOutput
source§impl PartialEq for CreateRateBasedRuleOutput
impl PartialEq for CreateRateBasedRuleOutput
source§fn eq(&self, other: &CreateRateBasedRuleOutput) -> bool
fn eq(&self, other: &CreateRateBasedRuleOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateRateBasedRuleOutput
impl RequestId for CreateRateBasedRuleOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateRateBasedRuleOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateRateBasedRuleOutput
impl Send for CreateRateBasedRuleOutput
impl Sync for CreateRateBasedRuleOutput
impl Unpin for CreateRateBasedRuleOutput
impl UnwindSafe for CreateRateBasedRuleOutput
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
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>
Creates a shared type from an unshared type.