Struct aws_sdk_mq::operation::list_brokers::ListBrokersOutput
source · #[non_exhaustive]pub struct ListBrokersOutput {
pub broker_summaries: Option<Vec<BrokerSummary>>,
pub next_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.broker_summaries: Option<Vec<BrokerSummary>>A list of information about all brokers.
next_token: Option<String>The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
Implementations§
source§impl ListBrokersOutput
impl ListBrokersOutput
sourcepub fn broker_summaries(&self) -> &[BrokerSummary]
pub fn broker_summaries(&self) -> &[BrokerSummary]
A list of information about all brokers.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .broker_summaries.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
source§impl ListBrokersOutput
impl ListBrokersOutput
sourcepub fn builder() -> ListBrokersOutputBuilder
pub fn builder() -> ListBrokersOutputBuilder
Creates a new builder-style object to manufacture ListBrokersOutput.
Trait Implementations§
source§impl Clone for ListBrokersOutput
impl Clone for ListBrokersOutput
source§fn clone(&self) -> ListBrokersOutput
fn clone(&self) -> ListBrokersOutput
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 ListBrokersOutput
impl Debug for ListBrokersOutput
source§impl PartialEq for ListBrokersOutput
impl PartialEq for ListBrokersOutput
source§fn eq(&self, other: &ListBrokersOutput) -> bool
fn eq(&self, other: &ListBrokersOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for ListBrokersOutput
impl RequestId for ListBrokersOutput
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 ListBrokersOutput
Auto Trait Implementations§
impl RefUnwindSafe for ListBrokersOutput
impl Send for ListBrokersOutput
impl Sync for ListBrokersOutput
impl Unpin for ListBrokersOutput
impl UnwindSafe for ListBrokersOutput
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.