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
source§fn eq(&self, other: &DetectTextInput) -> bool
fn eq(&self, other: &DetectTextInput) -> bool
self and other values to be equal, and is used
by ==.