#[non_exhaustive]pub struct SearchUsersOutput {
pub user_matches: Option<Vec<UserMatch>>,
pub face_model_version: Option<String>,
pub searched_face: Option<SearchedFace>,
pub searched_user: Option<SearchedUser>,
/* private fields */
}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_matches: Option<Vec<UserMatch>>An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches.
face_model_version: Option<String>Version number of the face detection model associated with the input CollectionId.
searched_face: Option<SearchedFace>Contains the ID of a face that was used to search for matches in a collection.
searched_user: Option<SearchedUser>Contains the ID of the UserID that was used to search for matches in a collection.
Implementations§
source§impl SearchUsersOutput
impl SearchUsersOutput
sourcepub fn user_matches(&self) -> &[UserMatch]
pub fn user_matches(&self) -> &[UserMatch]
An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_matches.is_none().
sourcepub fn face_model_version(&self) -> Option<&str>
pub fn face_model_version(&self) -> Option<&str>
Version number of the face detection model associated with the input CollectionId.
sourcepub fn searched_face(&self) -> Option<&SearchedFace>
pub fn searched_face(&self) -> Option<&SearchedFace>
Contains the ID of a face that was used to search for matches in a collection.
sourcepub fn searched_user(&self) -> Option<&SearchedUser>
pub fn searched_user(&self) -> Option<&SearchedUser>
Contains the ID of the UserID that was used to search for matches in a collection.
source§impl SearchUsersOutput
impl SearchUsersOutput
sourcepub fn builder() -> SearchUsersOutputBuilder
pub fn builder() -> SearchUsersOutputBuilder
Creates a new builder-style object to manufacture SearchUsersOutput.
Trait Implementations§
source§impl Clone for SearchUsersOutput
impl Clone for SearchUsersOutput
source§fn clone(&self) -> SearchUsersOutput
fn clone(&self) -> SearchUsersOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchUsersOutput
impl Debug for SearchUsersOutput
source§impl PartialEq for SearchUsersOutput
impl PartialEq for SearchUsersOutput
source§fn eq(&self, other: &SearchUsersOutput) -> bool
fn eq(&self, other: &SearchUsersOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for SearchUsersOutput
impl RequestId for SearchUsersOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.