Struct aws_sdk_connect::types::UserProficiency
source · #[non_exhaustive]pub struct UserProficiency {
pub attribute_name: String,
pub attribute_value: String,
pub level: f32,
}
Expand description
Information about proficiency of a user.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attribute_name: String
The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.
attribute_value: String
The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.
level: f32
The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
Implementations§
source§impl UserProficiency
impl UserProficiency
sourcepub fn attribute_name(&self) -> &str
pub fn attribute_name(&self) -> &str
The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.
sourcepub fn attribute_value(&self) -> &str
pub fn attribute_value(&self) -> &str
The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.
source§impl UserProficiency
impl UserProficiency
sourcepub fn builder() -> UserProficiencyBuilder
pub fn builder() -> UserProficiencyBuilder
Creates a new builder-style object to manufacture UserProficiency
.
Trait Implementations§
source§impl Clone for UserProficiency
impl Clone for UserProficiency
source§fn clone(&self) -> UserProficiency
fn clone(&self) -> UserProficiency
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UserProficiency
impl Debug for UserProficiency
source§impl PartialEq for UserProficiency
impl PartialEq for UserProficiency
source§fn eq(&self, other: &UserProficiency) -> bool
fn eq(&self, other: &UserProficiency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserProficiency
Auto Trait Implementations§
impl RefUnwindSafe for UserProficiency
impl Send for UserProficiency
impl Sync for UserProficiency
impl Unpin for UserProficiency
impl UnwindSafe for UserProficiency
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.