Struct aws_sdk_rekognition::types::builders::FaceDetectionBuilder
source · #[non_exhaustive]pub struct FaceDetectionBuilder { /* private fields */ }Expand description
A builder for FaceDetection.
Implementations§
source§impl FaceDetectionBuilder
impl FaceDetectionBuilder
sourcepub fn timestamp(self, input: i64) -> Self
pub fn timestamp(self, input: i64) -> Self
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 set_timestamp(self, input: Option<i64>) -> Self
pub fn set_timestamp(self, input: Option<i64>) -> Self
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 get_timestamp(&self) -> &Option<i64>
pub fn get_timestamp(&self) -> &Option<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, input: FaceDetail) -> Self
pub fn face(self, input: FaceDetail) -> Self
The face properties for the detected face.
sourcepub fn set_face(self, input: Option<FaceDetail>) -> Self
pub fn set_face(self, input: Option<FaceDetail>) -> Self
The face properties for the detected face.
sourcepub fn get_face(&self) -> &Option<FaceDetail>
pub fn get_face(&self) -> &Option<FaceDetail>
The face properties for the detected face.
sourcepub fn build(self) -> FaceDetection
pub fn build(self) -> FaceDetection
Consumes the builder and constructs a FaceDetection.
Trait Implementations§
source§impl Clone for FaceDetectionBuilder
impl Clone for FaceDetectionBuilder
source§fn clone(&self) -> FaceDetectionBuilder
fn clone(&self) -> FaceDetectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FaceDetectionBuilder
impl Debug for FaceDetectionBuilder
source§impl Default for FaceDetectionBuilder
impl Default for FaceDetectionBuilder
source§fn default() -> FaceDetectionBuilder
fn default() -> FaceDetectionBuilder
source§impl PartialEq for FaceDetectionBuilder
impl PartialEq for FaceDetectionBuilder
source§fn eq(&self, other: &FaceDetectionBuilder) -> bool
fn eq(&self, other: &FaceDetectionBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FaceDetectionBuilder
Auto Trait Implementations§
impl Freeze for FaceDetectionBuilder
impl RefUnwindSafe for FaceDetectionBuilder
impl Send for FaceDetectionBuilder
impl Sync for FaceDetectionBuilder
impl Unpin for FaceDetectionBuilder
impl UnwindSafe for FaceDetectionBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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>
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>
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