Struct aws_sdk_chime::model::User
source · [−]#[non_exhaustive]pub struct User {Show 13 fields
pub user_id: Option<String>,
pub account_id: Option<String>,
pub primary_email: Option<String>,
pub primary_provisioned_number: Option<String>,
pub display_name: Option<String>,
pub license_type: Option<License>,
pub user_type: Option<UserType>,
pub user_registration_status: Option<RegistrationStatus>,
pub user_invitation_status: Option<InviteStatus>,
pub registered_on: Option<DateTime>,
pub invited_on: Option<DateTime>,
pub alexa_for_business_metadata: Option<AlexaForBusinessMetadata>,
pub personal_pin: Option<String>,
}
Expand description
The user on the Amazon Chime account.
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.user_id: Option<String>
The user ID.
account_id: Option<String>
The Amazon Chime account ID.
primary_email: Option<String>
The primary email address of the user.
primary_provisioned_number: Option<String>
The primary phone number associated with the user.
display_name: Option<String>
The display name of the user.
license_type: Option<License>
The license type for the user.
user_type: Option<UserType>
The user type.
user_registration_status: Option<RegistrationStatus>
The user registration status.
user_invitation_status: Option<InviteStatus>
The user invite status.
registered_on: Option<DateTime>
Date and time when the user is registered, in ISO 8601 format.
invited_on: Option<DateTime>
Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
alexa_for_business_metadata: Option<AlexaForBusinessMetadata>
The Alexa for Business metadata.
personal_pin: Option<String>
The user's personal meeting PIN.
Implementations
sourceimpl User
impl User
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Chime account ID.
sourcepub fn primary_email(&self) -> Option<&str>
pub fn primary_email(&self) -> Option<&str>
The primary email address of the user.
sourcepub fn primary_provisioned_number(&self) -> Option<&str>
pub fn primary_provisioned_number(&self) -> Option<&str>
The primary phone number associated with the user.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name of the user.
sourcepub fn license_type(&self) -> Option<&License>
pub fn license_type(&self) -> Option<&License>
The license type for the user.
sourcepub fn user_registration_status(&self) -> Option<&RegistrationStatus>
pub fn user_registration_status(&self) -> Option<&RegistrationStatus>
The user registration status.
sourcepub fn user_invitation_status(&self) -> Option<&InviteStatus>
pub fn user_invitation_status(&self) -> Option<&InviteStatus>
The user invite status.
sourcepub fn registered_on(&self) -> Option<&DateTime>
pub fn registered_on(&self) -> Option<&DateTime>
Date and time when the user is registered, in ISO 8601 format.
sourcepub fn invited_on(&self) -> Option<&DateTime>
pub fn invited_on(&self) -> Option<&DateTime>
Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
sourcepub fn alexa_for_business_metadata(&self) -> Option<&AlexaForBusinessMetadata>
pub fn alexa_for_business_metadata(&self) -> Option<&AlexaForBusinessMetadata>
The Alexa for Business metadata.
sourcepub fn personal_pin(&self) -> Option<&str>
pub fn personal_pin(&self) -> Option<&str>
The user's personal meeting PIN.
Trait Implementations
impl StructuralPartialEq for User
Auto Trait Implementations
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more