#[non_exhaustive]pub struct StartFaceDetectionInput {
pub video: Option<Video>,
pub client_request_token: Option<String>,
pub notification_channel: Option<NotificationChannel>,
pub face_attributes: Option<FaceAttributes>,
pub job_tag: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.video: Option<Video>The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
client_request_token: Option<String>Idempotent token used to identify the start request. If you use the same token with multiple StartFaceDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.
notification_channel: Option<NotificationChannel>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
face_attributes: Option<FaceAttributes>The face attributes you want returned.
DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.
ALL - All facial attributes are returned.
job_tag: Option<String>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.
Implementations§
source§impl StartFaceDetectionInput
impl StartFaceDetectionInput
sourcepub fn video(&self) -> Option<&Video>
pub fn video(&self) -> Option<&Video>
The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Idempotent token used to identify the start request. If you use the same token with multiple StartFaceDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.
sourcepub fn notification_channel(&self) -> Option<&NotificationChannel>
pub fn notification_channel(&self) -> Option<&NotificationChannel>
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
sourcepub fn face_attributes(&self) -> Option<&FaceAttributes>
pub fn face_attributes(&self) -> Option<&FaceAttributes>
The face attributes you want returned.
DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.
ALL - All facial attributes are returned.
source§impl StartFaceDetectionInput
impl StartFaceDetectionInput
sourcepub fn builder() -> StartFaceDetectionInputBuilder
pub fn builder() -> StartFaceDetectionInputBuilder
Creates a new builder-style object to manufacture StartFaceDetectionInput.
Trait Implementations§
source§impl Clone for StartFaceDetectionInput
impl Clone for StartFaceDetectionInput
source§fn clone(&self) -> StartFaceDetectionInput
fn clone(&self) -> StartFaceDetectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartFaceDetectionInput
impl Debug for StartFaceDetectionInput
source§impl PartialEq for StartFaceDetectionInput
impl PartialEq for StartFaceDetectionInput
impl StructuralPartialEq for StartFaceDetectionInput
Auto Trait Implementations§
impl Freeze for StartFaceDetectionInput
impl RefUnwindSafe for StartFaceDetectionInput
impl Send for StartFaceDetectionInput
impl Sync for StartFaceDetectionInput
impl Unpin for StartFaceDetectionInput
impl UnwindSafe for StartFaceDetectionInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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