Struct aws_sdk_rekognition::types::builders::ImageQualityBuilder
source · #[non_exhaustive]pub struct ImageQualityBuilder { /* private fields */ }Expand description
A builder for ImageQuality.
Implementations§
source§impl ImageQualityBuilder
impl ImageQualityBuilder
sourcepub fn brightness(self, input: f32) -> Self
pub fn brightness(self, input: f32) -> Self
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
sourcepub fn set_brightness(self, input: Option<f32>) -> Self
pub fn set_brightness(self, input: Option<f32>) -> Self
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
sourcepub fn get_brightness(&self) -> &Option<f32>
pub fn get_brightness(&self) -> &Option<f32>
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
sourcepub fn sharpness(self, input: f32) -> Self
pub fn sharpness(self, input: f32) -> Self
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
sourcepub fn set_sharpness(self, input: Option<f32>) -> Self
pub fn set_sharpness(self, input: Option<f32>) -> Self
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
sourcepub fn get_sharpness(&self) -> &Option<f32>
pub fn get_sharpness(&self) -> &Option<f32>
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
sourcepub fn build(self) -> ImageQuality
pub fn build(self) -> ImageQuality
Consumes the builder and constructs a ImageQuality.
Trait Implementations§
source§impl Clone for ImageQualityBuilder
impl Clone for ImageQualityBuilder
source§fn clone(&self) -> ImageQualityBuilder
fn clone(&self) -> ImageQualityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImageQualityBuilder
impl Debug for ImageQualityBuilder
source§impl Default for ImageQualityBuilder
impl Default for ImageQualityBuilder
source§fn default() -> ImageQualityBuilder
fn default() -> ImageQualityBuilder
source§impl PartialEq for ImageQualityBuilder
impl PartialEq for ImageQualityBuilder
source§fn eq(&self, other: &ImageQualityBuilder) -> bool
fn eq(&self, other: &ImageQualityBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ImageQualityBuilder
Auto Trait Implementations§
impl Freeze for ImageQualityBuilder
impl RefUnwindSafe for ImageQualityBuilder
impl Send for ImageQualityBuilder
impl Sync for ImageQualityBuilder
impl Unpin for ImageQualityBuilder
impl UnwindSafe for ImageQualityBuilder
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