Struct aws_sdk_rekognition::types::MatchedUser
source · #[non_exhaustive]pub struct MatchedUser {
pub user_id: Option<String>,
pub user_status: Option<UserStatus>,
}Expand description
Contains metadata for a UserID matched with a given face.
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.user_id: Option<String>A provided ID for the UserID. Unique within the collection.
user_status: Option<UserStatus>The status of the user matched to a provided FaceID.
Implementations§
source§impl MatchedUser
impl MatchedUser
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
A provided ID for the UserID. Unique within the collection.
sourcepub fn user_status(&self) -> Option<&UserStatus>
pub fn user_status(&self) -> Option<&UserStatus>
The status of the user matched to a provided FaceID.
source§impl MatchedUser
impl MatchedUser
sourcepub fn builder() -> MatchedUserBuilder
pub fn builder() -> MatchedUserBuilder
Creates a new builder-style object to manufacture MatchedUser.
Trait Implementations§
source§impl Clone for MatchedUser
impl Clone for MatchedUser
source§fn clone(&self) -> MatchedUser
fn clone(&self) -> MatchedUser
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 MatchedUser
impl Debug for MatchedUser
source§impl PartialEq for MatchedUser
impl PartialEq for MatchedUser
source§fn eq(&self, other: &MatchedUser) -> bool
fn eq(&self, other: &MatchedUser) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MatchedUser
Auto Trait Implementations§
impl RefUnwindSafe for MatchedUser
impl Send for MatchedUser
impl Sync for MatchedUser
impl Unpin for MatchedUser
impl UnwindSafe for MatchedUser
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.