pub struct ReviewItem {
pub queue_id: i64,
pub face_id: i64,
pub candidate_cluster_id: i64,
pub candidate_cluster_name: Option<String>,
pub candidate_cluster_size: i64,
pub candidate_sample_face_ids: Vec<i64>,
pub score: f32,
}Expand description
A row from face_review_queue ready to be presented to the user.
Sample face ids are a small set of representative faces from the candidate cluster, used by the UI to show “here’s the person we think this matches.”
Fields§
§queue_id: i64§face_id: i64§candidate_cluster_id: i64§candidate_cluster_name: Option<String>§candidate_cluster_size: i64§candidate_sample_face_ids: Vec<i64>§score: f32Trait Implementations§
Source§impl Clone for ReviewItem
impl Clone for ReviewItem
Source§fn clone(&self) -> ReviewItem
fn clone(&self) -> ReviewItem
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 moreAuto Trait Implementations§
impl Freeze for ReviewItem
impl RefUnwindSafe for ReviewItem
impl Send for ReviewItem
impl Sync for ReviewItem
impl Unpin for ReviewItem
impl UnsafeUnpin for ReviewItem
impl UnwindSafe for ReviewItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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