#[non_exhaustive]pub struct ListUsersOutput {
pub users: Option<Vec<UserType>>,
pub pagination_token: Option<String>,
/* private fields */
}
Expand description
The response from the request to list users.
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.users: Option<Vec<UserType>>
A list of the user pool users, and their attributes, that match your query.
Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of ListUsers
displays both the IdP user and the native user that you linked. You can identify IdP users in the Users
object of this API response by the IdP prefix that Amazon Cognito appends to Username
.
pagination_token: Option<String>
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
Implementations§
source§impl ListUsersOutput
impl ListUsersOutput
sourcepub fn users(&self) -> &[UserType]
pub fn users(&self) -> &[UserType]
A list of the user pool users, and their attributes, that match your query.
Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of ListUsers
displays both the IdP user and the native user that you linked. You can identify IdP users in the Users
object of this API response by the IdP prefix that Amazon Cognito appends to Username
.
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()
.
sourcepub fn pagination_token(&self) -> Option<&str>
pub fn pagination_token(&self) -> Option<&str>
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
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