#[non_exhaustive]pub struct FaceDetectionAnnotation {
pub tracks: Vec<Track>,
pub thumbnail: Bytes,
pub version: String,
/* private fields */
}Expand description
Face detection annotation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tracks: Vec<Track>The face tracks with attributes.
thumbnail: BytesThe thumbnail of a person’s face.
version: StringFeature version.
Implementations§
Source§impl FaceDetectionAnnotation
impl FaceDetectionAnnotation
Sourcepub fn set_tracks<T, V>(self, v: T) -> Self
pub fn set_tracks<T, V>(self, v: T) -> Self
Sourcepub fn set_thumbnail<T: Into<Bytes>>(self, v: T) -> Self
pub fn set_thumbnail<T: Into<Bytes>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for FaceDetectionAnnotation
impl Clone for FaceDetectionAnnotation
Source§fn clone(&self) -> FaceDetectionAnnotation
fn clone(&self) -> FaceDetectionAnnotation
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 FaceDetectionAnnotation
impl Debug for FaceDetectionAnnotation
Source§impl Default for FaceDetectionAnnotation
impl Default for FaceDetectionAnnotation
Source§fn default() -> FaceDetectionAnnotation
fn default() -> FaceDetectionAnnotation
Returns the “default value” for a type. Read more
Source§impl Message for FaceDetectionAnnotation
impl Message for FaceDetectionAnnotation
Source§impl PartialEq for FaceDetectionAnnotation
impl PartialEq for FaceDetectionAnnotation
Source§fn eq(&self, other: &FaceDetectionAnnotation) -> bool
fn eq(&self, other: &FaceDetectionAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FaceDetectionAnnotation
Auto Trait Implementations§
impl !Freeze for FaceDetectionAnnotation
impl RefUnwindSafe for FaceDetectionAnnotation
impl Send for FaceDetectionAnnotation
impl Sync for FaceDetectionAnnotation
impl Unpin for FaceDetectionAnnotation
impl UnsafeUnpin for FaceDetectionAnnotation
impl UnwindSafe for FaceDetectionAnnotation
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