Struct aws_sdk_textract::types::builders::LendingResultBuilder
source · #[non_exhaustive]pub struct LendingResultBuilder { /* private fields */ }
Expand description
A builder for LendingResult
.
Implementations§
source§impl LendingResultBuilder
impl LendingResultBuilder
sourcepub fn page(self, input: i32) -> Self
pub fn page(self, input: i32) -> Self
The page number for a page, with regard to whole submission.
sourcepub fn set_page(self, input: Option<i32>) -> Self
pub fn set_page(self, input: Option<i32>) -> Self
The page number for a page, with regard to whole submission.
sourcepub fn get_page(&self) -> &Option<i32>
pub fn get_page(&self) -> &Option<i32>
The page number for a page, with regard to whole submission.
sourcepub fn page_classification(self, input: PageClassification) -> Self
pub fn page_classification(self, input: PageClassification) -> Self
The classifier result for a given page.
sourcepub fn set_page_classification(self, input: Option<PageClassification>) -> Self
pub fn set_page_classification(self, input: Option<PageClassification>) -> Self
The classifier result for a given page.
sourcepub fn get_page_classification(&self) -> &Option<PageClassification>
pub fn get_page_classification(&self) -> &Option<PageClassification>
The classifier result for a given page.
sourcepub fn extractions(self, input: Extraction) -> Self
pub fn extractions(self, input: Extraction) -> Self
Appends an item to extractions
.
To override the contents of this collection use set_extractions
.
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
sourcepub fn set_extractions(self, input: Option<Vec<Extraction>>) -> Self
pub fn set_extractions(self, input: Option<Vec<Extraction>>) -> Self
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
sourcepub fn get_extractions(&self) -> &Option<Vec<Extraction>>
pub fn get_extractions(&self) -> &Option<Vec<Extraction>>
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
sourcepub fn build(self) -> LendingResult
pub fn build(self) -> LendingResult
Consumes the builder and constructs a LendingResult
.
Trait Implementations§
source§impl Clone for LendingResultBuilder
impl Clone for LendingResultBuilder
source§fn clone(&self) -> LendingResultBuilder
fn clone(&self) -> LendingResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LendingResultBuilder
impl Debug for LendingResultBuilder
source§impl Default for LendingResultBuilder
impl Default for LendingResultBuilder
source§fn default() -> LendingResultBuilder
fn default() -> LendingResultBuilder
source§impl PartialEq for LendingResultBuilder
impl PartialEq for LendingResultBuilder
source§fn eq(&self, other: &LendingResultBuilder) -> bool
fn eq(&self, other: &LendingResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.