Struct aws_sdk_comprehend::model::DocumentReaderConfig [−][src]
#[non_exhaustive]pub struct DocumentReaderConfig {
pub document_read_action: Option<DocumentReadAction>,
pub document_read_mode: Option<DocumentReadMode>,
pub feature_types: Option<Vec<DocumentReadFeatureTypes>>,
}
Expand description
The input properties for a topic detection job.
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.document_read_action: Option<DocumentReadAction>
This enum field will start with two values which will apply to PDFs:
-
TEXTRACT_DETECT_DOCUMENT_TEXT
- The service calls DetectDocumentText for PDF documents per page. -
TEXTRACT_ANALYZE_DOCUMENT
- The service calls AnalyzeDocument for PDF documents per page.
document_read_mode: Option<DocumentReadMode>
This enum field provides two values:
-
SERVICE_DEFAULT
- use service defaults for Document reading. For Digital PDF it would mean using an internal parser instead of Textract APIs -
FORCE_DOCUMENT_READ_ACTION
- Always use specified action for DocumentReadAction, including Digital PDF.
feature_types: Option<Vec<DocumentReadFeatureTypes>>
Specifies how the text in an input file should be processed:
Implementations
Creates a new builder-style object to manufacture DocumentReaderConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DocumentReaderConfig
impl Send for DocumentReaderConfig
impl Sync for DocumentReaderConfig
impl Unpin for DocumentReaderConfig
impl UnwindSafe for DocumentReaderConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more