#[non_exhaustive]pub struct CreateSubscriptionDefinitionInput {
pub amzn_client_token: Option<String>,
pub initial_version: Option<SubscriptionDefinitionVersion>,
pub name: Option<String>,
pub tags: Option<HashMap<String, 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.amzn_client_token: Option<String>
A client token used to correlate requests and responses.
initial_version: Option<SubscriptionDefinitionVersion>
Information about the initial version of the subscription definition.
name: Option<String>
The name of the subscription definition.
Tag(s) to add to the new resource.
Implementations
sourceimpl CreateSubscriptionDefinitionInput
impl CreateSubscriptionDefinitionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSubscriptionDefinition, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSubscriptionDefinition, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateSubscriptionDefinition
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateSubscriptionDefinitionInput
sourceimpl CreateSubscriptionDefinitionInput
impl CreateSubscriptionDefinitionInput
sourcepub fn amzn_client_token(&self) -> Option<&str>
pub fn amzn_client_token(&self) -> Option<&str>
A client token used to correlate requests and responses.
sourcepub fn initial_version(&self) -> Option<&SubscriptionDefinitionVersion>
pub fn initial_version(&self) -> Option<&SubscriptionDefinitionVersion>
Information about the initial version of the subscription definition.
Tag(s) to add to the new resource.
Trait Implementations
sourceimpl Clone for CreateSubscriptionDefinitionInput
impl Clone for CreateSubscriptionDefinitionInput
sourcefn clone(&self) -> CreateSubscriptionDefinitionInput
fn clone(&self) -> CreateSubscriptionDefinitionInput
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 PartialEq<CreateSubscriptionDefinitionInput> for CreateSubscriptionDefinitionInput
impl PartialEq<CreateSubscriptionDefinitionInput> for CreateSubscriptionDefinitionInput
sourcefn eq(&self, other: &CreateSubscriptionDefinitionInput) -> bool
fn eq(&self, other: &CreateSubscriptionDefinitionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateSubscriptionDefinitionInput) -> bool
fn ne(&self, other: &CreateSubscriptionDefinitionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateSubscriptionDefinitionInput
Auto Trait Implementations
impl RefUnwindSafe for CreateSubscriptionDefinitionInput
impl Send for CreateSubscriptionDefinitionInput
impl Sync for CreateSubscriptionDefinitionInput
impl Unpin for CreateSubscriptionDefinitionInput
impl UnwindSafe for CreateSubscriptionDefinitionInput
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> 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