#[non_exhaustive]pub struct ListDevicesOutput {
pub devices: Option<Vec<DeviceType>>,
pub pagination_token: Option<String>,
/* private fields */
}
Expand description
Represents the response to list 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.devices: Option<Vec<DeviceType>>
The devices returned in the list devices response.
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 ListDevicesOutput
impl ListDevicesOutput
sourcepub fn devices(&self) -> &[DeviceType]
pub fn devices(&self) -> &[DeviceType]
The devices returned in the list devices response.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .devices.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 ListDevicesOutput
impl ListDevicesOutput
sourcepub fn builder() -> ListDevicesOutputBuilder
pub fn builder() -> ListDevicesOutputBuilder
Creates a new builder-style object to manufacture ListDevicesOutput
.
Trait Implementations§
source§impl Clone for ListDevicesOutput
impl Clone for ListDevicesOutput
source§fn clone(&self) -> ListDevicesOutput
fn clone(&self) -> ListDevicesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDevicesOutput
impl Debug for ListDevicesOutput
source§impl PartialEq for ListDevicesOutput
impl PartialEq for ListDevicesOutput
source§fn eq(&self, other: &ListDevicesOutput) -> bool
fn eq(&self, other: &ListDevicesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListDevicesOutput
impl RequestId for ListDevicesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListDevicesOutput
Auto Trait Implementations§
impl Freeze for ListDevicesOutput
impl RefUnwindSafe for ListDevicesOutput
impl Send for ListDevicesOutput
impl Sync for ListDevicesOutput
impl Unpin for ListDevicesOutput
impl UnwindSafe for ListDevicesOutput
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