Struct aws_sdk_rekognition::types::FaceDetection
source · #[non_exhaustive]pub struct FaceDetection {
pub timestamp: i64,
pub face: Option<FaceDetail>,
}
Expand description
Information about a face detected in a video analysis request and the time the face was detected in the video.
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.timestamp: i64
Time, in milliseconds from the start of the video, that the face was detected. Note that Timestamp
is not guaranteed to be accurate to the individual frame where the face first appears.
face: Option<FaceDetail>
The face properties for the detected face.
Implementations§
source§impl FaceDetection
impl FaceDetection
sourcepub fn timestamp(&self) -> i64
pub fn timestamp(&self) -> i64
Time, in milliseconds from the start of the video, that the face was detected. Note that Timestamp
is not guaranteed to be accurate to the individual frame where the face first appears.
sourcepub fn face(&self) -> Option<&FaceDetail>
pub fn face(&self) -> Option<&FaceDetail>
The face properties for the detected face.
source§impl FaceDetection
impl FaceDetection
sourcepub fn builder() -> FaceDetectionBuilder
pub fn builder() -> FaceDetectionBuilder
Creates a new builder-style object to manufacture FaceDetection
.
Trait Implementations§
source§impl Clone for FaceDetection
impl Clone for FaceDetection
source§fn clone(&self) -> FaceDetection
fn clone(&self) -> FaceDetection
Returns a copy of the value. Read more
1.0.0 · 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 FaceDetection
impl Debug for FaceDetection
source§impl PartialEq<FaceDetection> for FaceDetection
impl PartialEq<FaceDetection> for FaceDetection
source§fn eq(&self, other: &FaceDetection) -> bool
fn eq(&self, other: &FaceDetection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FaceDetection
Auto Trait Implementations§
impl RefUnwindSafe for FaceDetection
impl Send for FaceDetection
impl Sync for FaceDetection
impl Unpin for FaceDetection
impl UnwindSafe for FaceDetection
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