Struct aws_sdk_rekognition::types::builders::EyeDirectionBuilder
source · #[non_exhaustive]pub struct EyeDirectionBuilder { /* private fields */ }Expand description
A builder for EyeDirection.
Implementations§
source§impl EyeDirectionBuilder
impl EyeDirectionBuilder
sourcepub fn set_yaw(self, input: Option<f32>) -> Self
pub fn set_yaw(self, input: Option<f32>) -> Self
Value representing eye direction on the yaw axis.
sourcepub fn set_pitch(self, input: Option<f32>) -> Self
pub fn set_pitch(self, input: Option<f32>) -> Self
Value representing eye direction on the pitch axis.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence that the service has in its predicted eye direction.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence that the service has in its predicted eye direction.
sourcepub fn get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
The confidence that the service has in its predicted eye direction.
sourcepub fn build(self) -> EyeDirection
pub fn build(self) -> EyeDirection
Consumes the builder and constructs a EyeDirection.
Trait Implementations§
source§impl Clone for EyeDirectionBuilder
impl Clone for EyeDirectionBuilder
source§fn clone(&self) -> EyeDirectionBuilder
fn clone(&self) -> EyeDirectionBuilder
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 EyeDirectionBuilder
impl Debug for EyeDirectionBuilder
source§impl Default for EyeDirectionBuilder
impl Default for EyeDirectionBuilder
source§fn default() -> EyeDirectionBuilder
fn default() -> EyeDirectionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EyeDirectionBuilder
impl PartialEq for EyeDirectionBuilder
source§fn eq(&self, other: &EyeDirectionBuilder) -> bool
fn eq(&self, other: &EyeDirectionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EyeDirectionBuilder
Auto Trait Implementations§
impl Freeze for EyeDirectionBuilder
impl RefUnwindSafe for EyeDirectionBuilder
impl Send for EyeDirectionBuilder
impl Sync for EyeDirectionBuilder
impl Unpin for EyeDirectionBuilder
impl UnwindSafe for EyeDirectionBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.