pub struct FaceSearch {
pub max_faces: Option<u32>,
pub similarity_threshold: Option<f64>,
}Expand description
How far a face search reaches.
Fields§
§max_faces: Option<u32>The most matches to answer with. Unset leaves the platform’s default.
similarity_threshold: Option<f64>The similarity a match has to reach, as a percentage from 0.0 to
100.0. Unset leaves the platform’s default.
Trait Implementations§
Source§impl Clone for FaceSearch
impl Clone for FaceSearch
Source§fn clone(&self) -> FaceSearch
fn clone(&self) -> FaceSearch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FaceSearch
impl Debug for FaceSearch
Source§impl Default for FaceSearch
impl Default for FaceSearch
Source§fn default() -> FaceSearch
fn default() -> FaceSearch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FaceSearch
impl RefUnwindSafe for FaceSearch
impl Send for FaceSearch
impl Sync for FaceSearch
impl Unpin for FaceSearch
impl UnsafeUnpin for FaceSearch
impl UnwindSafe for FaceSearch
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