#[non_exhaustive]pub struct DescribeTopicOutput {
pub arn: Option<String>,
pub topic_id: Option<String>,
pub topic: Option<TopicDetails>,
pub request_id: Option<String>,
pub status: i32,
/* 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.arn: Option<String>
The Amazon Resource Name (ARN) of the topic.
topic_id: Option<String>
The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topic: Option<TopicDetails>
The definition of a topic.
request_id: Option<String>
The Amazon Web Services request ID for this operation.
status: i32
The HTTP status of the request.
Implementations§
source§impl DescribeTopicOutput
impl DescribeTopicOutput
sourcepub fn topic_id(&self) -> Option<&str>
pub fn topic_id(&self) -> Option<&str>
The ID of the topic that you want to describe. 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.
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
The Amazon Web Services request ID for this operation.
source§impl DescribeTopicOutput
impl DescribeTopicOutput
sourcepub fn builder() -> DescribeTopicOutputBuilder
pub fn builder() -> DescribeTopicOutputBuilder
Creates a new builder-style object to manufacture DescribeTopicOutput
.
Trait Implementations§
source§impl Clone for DescribeTopicOutput
impl Clone for DescribeTopicOutput
source§fn clone(&self) -> DescribeTopicOutput
fn clone(&self) -> DescribeTopicOutput
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 DescribeTopicOutput
impl Debug for DescribeTopicOutput
source§impl PartialEq for DescribeTopicOutput
impl PartialEq for DescribeTopicOutput
source§fn eq(&self, other: &DescribeTopicOutput) -> bool
fn eq(&self, other: &DescribeTopicOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeTopicOutput
impl RequestId for DescribeTopicOutput
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 DescribeTopicOutput
Auto Trait Implementations§
impl RefUnwindSafe for DescribeTopicOutput
impl Send for DescribeTopicOutput
impl Sync for DescribeTopicOutput
impl Unpin for DescribeTopicOutput
impl UnwindSafe for DescribeTopicOutput
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.