Struct aws_sdk_rekognition::operation::detect_text::DetectTextInput
source · #[non_exhaustive]pub struct DetectTextInput {
pub image: Option<Image>,
pub filters: Option<DetectTextFilters>,
}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.image: Option<Image>The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.
filters: Option<DetectTextFilters>Optional parameters that let you set the criteria that the text must meet to be included in your response.
Implementations§
source§impl DetectTextInput
impl DetectTextInput
sourcepub fn image(&self) -> Option<&Image>
pub fn image(&self) -> Option<&Image>
The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.
sourcepub fn filters(&self) -> Option<&DetectTextFilters>
pub fn filters(&self) -> Option<&DetectTextFilters>
Optional parameters that let you set the criteria that the text must meet to be included in your response.
source§impl DetectTextInput
impl DetectTextInput
sourcepub fn builder() -> DetectTextInputBuilder
pub fn builder() -> DetectTextInputBuilder
Creates a new builder-style object to manufacture DetectTextInput.
Trait Implementations§
source§impl Clone for DetectTextInput
impl Clone for DetectTextInput
source§fn clone(&self) -> DetectTextInput
fn clone(&self) -> DetectTextInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DetectTextInput
impl Debug for DetectTextInput
source§impl PartialEq for DetectTextInput
impl PartialEq for DetectTextInput
impl StructuralPartialEq for DetectTextInput
Auto Trait Implementations§
impl Freeze for DetectTextInput
impl RefUnwindSafe for DetectTextInput
impl Send for DetectTextInput
impl Sync for DetectTextInput
impl Unpin for DetectTextInput
impl UnwindSafe for DetectTextInput
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