#[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
impl StructuralPartialEq for FaceSearchSettingsBuilder
Auto Trait Implementations§
impl Freeze for FaceSearchSettingsBuilder
impl RefUnwindSafe for FaceSearchSettingsBuilder
impl Send for FaceSearchSettingsBuilder
impl Sync for FaceSearchSettingsBuilder
impl Unpin for FaceSearchSettingsBuilder
impl UnwindSafe for FaceSearchSettingsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more