Struct aws_sdk_mq::operation::list_users::ListUsersOutput
source · #[non_exhaustive]pub struct ListUsersOutput {
pub broker_id: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub users: Option<Vec<UserSummary>>,
/* private fields */
}
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.broker_id: Option<String>
Required. The unique ID that Amazon MQ generates for the broker.
max_results: Option<i32>
Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
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.
users: Option<Vec<UserSummary>>
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
Implementations§
source§impl ListUsersOutput
impl ListUsersOutput
sourcepub fn broker_id(&self) -> Option<&str>
pub fn broker_id(&self) -> Option<&str>
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
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.
sourcepub fn users(&self) -> &[UserSummary]
pub fn users(&self) -> &[UserSummary]
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ 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 .users.is_none()
.
source§impl ListUsersOutput
impl ListUsersOutput
sourcepub fn builder() -> ListUsersOutputBuilder
pub fn builder() -> ListUsersOutputBuilder
Creates a new builder-style object to manufacture ListUsersOutput
.
Trait Implementations§
source§impl Clone for ListUsersOutput
impl Clone for ListUsersOutput
source§fn clone(&self) -> ListUsersOutput
fn clone(&self) -> ListUsersOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListUsersOutput
impl Debug for ListUsersOutput
source§impl PartialEq for ListUsersOutput
impl PartialEq for ListUsersOutput
source§fn eq(&self, other: &ListUsersOutput) -> bool
fn eq(&self, other: &ListUsersOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListUsersOutput
impl RequestId for ListUsersOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListUsersOutput
Auto Trait Implementations§
impl Freeze for ListUsersOutput
impl RefUnwindSafe for ListUsersOutput
impl Send for ListUsersOutput
impl Sync for ListUsersOutput
impl Unpin for ListUsersOutput
impl UnwindSafe for ListUsersOutput
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> 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