#[non_exhaustive]pub struct ListDevicesInput {
pub access_token: Option<String>,
pub limit: Option<i32>,
pub pagination_token: Option<String>,
}
Expand description
Represents the request to list the devices.
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.access_token: Option<String>
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
limit: Option<i32>
The limit of the device request.
pagination_token: Option<String>
This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.
Implementations§
source§impl ListDevicesInput
impl ListDevicesInput
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
sourcepub fn pagination_token(&self) -> Option<&str>
pub fn pagination_token(&self) -> Option<&str>
This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.
source§impl ListDevicesInput
impl ListDevicesInput
sourcepub fn builder() -> ListDevicesInputBuilder
pub fn builder() -> ListDevicesInputBuilder
Creates a new builder-style object to manufacture ListDevicesInput
.
Trait Implementations§
source§impl Clone for ListDevicesInput
impl Clone for ListDevicesInput
source§fn clone(&self) -> ListDevicesInput
fn clone(&self) -> ListDevicesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDevicesInput
impl Debug for ListDevicesInput
source§impl PartialEq for ListDevicesInput
impl PartialEq for ListDevicesInput
source§fn eq(&self, other: &ListDevicesInput) -> bool
fn eq(&self, other: &ListDevicesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDevicesInput
Auto Trait Implementations§
impl Freeze for ListDevicesInput
impl RefUnwindSafe for ListDevicesInput
impl Send for ListDevicesInput
impl Sync for ListDevicesInput
impl Unpin for ListDevicesInput
impl UnwindSafe for ListDevicesInput
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