#[non_exhaustive]pub struct FaceSearchSettingsBuilder { /* private fields */ }Expand description
A builder for FaceSearchSettings.
Implementations§
source§impl FaceSearchSettingsBuilder
impl FaceSearchSettingsBuilder
sourcepub fn collection_id(self, input: impl Into<String>) -> Self
pub fn collection_id(self, input: impl Into<String>) -> Self
The ID of a collection that contains faces that you want to search for.
sourcepub fn set_collection_id(self, input: Option<String>) -> Self
pub fn set_collection_id(self, input: Option<String>) -> Self
The ID of a collection that contains faces that you want to search for.
sourcepub fn get_collection_id(&self) -> &Option<String>
pub fn get_collection_id(&self) -> &Option<String>
The ID of a collection that contains faces that you want to search for.
sourcepub fn face_match_threshold(self, input: f32) -> Self
pub fn face_match_threshold(self, input: f32) -> Self
Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
sourcepub fn set_face_match_threshold(self, input: Option<f32>) -> Self
pub fn set_face_match_threshold(self, input: Option<f32>) -> Self
Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
sourcepub fn get_face_match_threshold(&self) -> &Option<f32>
pub fn get_face_match_threshold(&self) -> &Option<f32>
Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
sourcepub fn build(self) -> FaceSearchSettings
pub fn build(self) -> FaceSearchSettings
Consumes the builder and constructs a FaceSearchSettings.
Trait Implementations§
source§impl Clone for FaceSearchSettingsBuilder
impl Clone for FaceSearchSettingsBuilder
source§fn clone(&self) -> FaceSearchSettingsBuilder
fn clone(&self) -> FaceSearchSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FaceSearchSettingsBuilder
impl Debug for FaceSearchSettingsBuilder
source§impl Default for FaceSearchSettingsBuilder
impl Default for FaceSearchSettingsBuilder
source§fn default() -> FaceSearchSettingsBuilder
fn default() -> FaceSearchSettingsBuilder
source§impl PartialEq for FaceSearchSettingsBuilder
impl PartialEq for FaceSearchSettingsBuilder
source§fn eq(&self, other: &FaceSearchSettingsBuilder) -> bool
fn eq(&self, other: &FaceSearchSettingsBuilder) -> bool
self and other values to be equal, and is used
by ==.