#[non_exhaustive]pub struct AdminGetDeviceInput {
pub device_key: Option<String>,
pub user_pool_id: Option<String>,
pub username: Option<String>,
}
Expand description
Represents the request to get the device, as an administrator.
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.device_key: Option<String>
The device key.
user_pool_id: Option<String>
The user pool ID.
username: Option<String>
The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username
isn't an alias attribute in your user pool, this value must be the sub
of a local user or the username of a user from a third-party IdP.
Implementations§
source§impl AdminGetDeviceInput
impl AdminGetDeviceInput
sourcepub fn device_key(&self) -> Option<&str>
pub fn device_key(&self) -> Option<&str>
The device key.
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID.
sourcepub fn username(&self) -> Option<&str>
pub fn username(&self) -> Option<&str>
The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username
isn't an alias attribute in your user pool, this value must be the sub
of a local user or the username of a user from a third-party IdP.
source§impl AdminGetDeviceInput
impl AdminGetDeviceInput
sourcepub fn builder() -> AdminGetDeviceInputBuilder
pub fn builder() -> AdminGetDeviceInputBuilder
Creates a new builder-style object to manufacture AdminGetDeviceInput
.
Trait Implementations§
source§impl Clone for AdminGetDeviceInput
impl Clone for AdminGetDeviceInput
source§fn clone(&self) -> AdminGetDeviceInput
fn clone(&self) -> AdminGetDeviceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdminGetDeviceInput
impl Debug for AdminGetDeviceInput
source§impl PartialEq for AdminGetDeviceInput
impl PartialEq for AdminGetDeviceInput
source§fn eq(&self, other: &AdminGetDeviceInput) -> bool
fn eq(&self, other: &AdminGetDeviceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdminGetDeviceInput
Auto Trait Implementations§
impl Freeze for AdminGetDeviceInput
impl RefUnwindSafe for AdminGetDeviceInput
impl Send for AdminGetDeviceInput
impl Sync for AdminGetDeviceInput
impl Unpin for AdminGetDeviceInput
impl UnwindSafe for AdminGetDeviceInput
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