#[non_exhaustive]pub struct FaceAnnotation {
pub thumbnail: Bytes,
pub segments: Vec<FaceSegment>,
pub frames: Vec<FaceFrame>,
/* private fields */
}๐Deprecated
Expand description
Deprecated. No effect.
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.thumbnail: Bytes๐Deprecated
Thumbnail of a representative face view (in JPEG format).
segments: Vec<FaceSegment>๐Deprecated
All video segments where a face was detected.
frames: Vec<FaceFrame>๐Deprecated
All video frames where a face was detected.
Implementationsยง
Sourceยงimpl FaceAnnotation
impl FaceAnnotation
Sourcepub fn set_thumbnail<T: Into<Bytes>>(self, v: T) -> Self
pub fn set_thumbnail<T: Into<Bytes>>(self, v: T) -> Self
Sourcepub fn set_segments<T, V>(self, v: T) -> Self
pub fn set_segments<T, V>(self, v: T) -> Self
Sourcepub fn set_frames<T, V>(self, v: T) -> Self
pub fn set_frames<T, V>(self, v: T) -> Self
Trait Implementationsยง
Sourceยงimpl Clone for FaceAnnotation
impl Clone for FaceAnnotation
Sourceยงfn clone(&self) -> FaceAnnotation
fn clone(&self) -> FaceAnnotation
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 FaceAnnotation
impl Debug for FaceAnnotation
Sourceยงimpl Default for FaceAnnotation
impl Default for FaceAnnotation
Sourceยงfn default() -> FaceAnnotation
fn default() -> FaceAnnotation
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for FaceAnnotation
impl Message for FaceAnnotation
Sourceยงimpl PartialEq for FaceAnnotation
impl PartialEq for FaceAnnotation
Sourceยงfn eq(&self, other: &FaceAnnotation) -> bool
fn eq(&self, other: &FaceAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FaceAnnotation
Auto Trait Implementationsยง
impl !Freeze for FaceAnnotation
impl RefUnwindSafe for FaceAnnotation
impl Send for FaceAnnotation
impl Sync for FaceAnnotation
impl Unpin for FaceAnnotation
impl UnsafeUnpin for FaceAnnotation
impl UnwindSafe for FaceAnnotation
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