#[non_exhaustive]pub struct CreateTopicInput {
pub aws_account_id: Option<String>,
pub topic_id: Option<String>,
pub topic: Option<TopicDetails>,
pub tags: Option<Vec<Tag>>,
}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.aws_account_id: Option<String>The ID of the Amazon Web Services account that you want to create a topic in.
topic_id: Option<String>The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topic: Option<TopicDetails>The definition of a topic to create.
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
Implementations§
source§impl CreateTopicInput
impl CreateTopicInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that you want to create a topic in.
sourcepub fn topic_id(&self) -> Option<&str>
pub fn topic_id(&self) -> Option<&str>
The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn topic(&self) -> Option<&TopicDetails>
pub fn topic(&self) -> Option<&TopicDetails>
The definition of a topic to create.
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateTopicInput
impl CreateTopicInput
sourcepub fn builder() -> CreateTopicInputBuilder
pub fn builder() -> CreateTopicInputBuilder
Creates a new builder-style object to manufacture CreateTopicInput.
Trait Implementations§
source§impl Clone for CreateTopicInput
impl Clone for CreateTopicInput
source§fn clone(&self) -> CreateTopicInput
fn clone(&self) -> CreateTopicInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTopicInput
impl Debug for CreateTopicInput
source§impl PartialEq for CreateTopicInput
impl PartialEq for CreateTopicInput
impl StructuralPartialEq for CreateTopicInput
Auto Trait Implementations§
impl Freeze for CreateTopicInput
impl RefUnwindSafe for CreateTopicInput
impl Send for CreateTopicInput
impl Sync for CreateTopicInput
impl Unpin for CreateTopicInput
impl UnwindSafe for CreateTopicInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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