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
impl StructuralPartialEq for LendingResultBuilder
Auto Trait Implementations§
impl Freeze for LendingResultBuilder
impl RefUnwindSafe for LendingResultBuilder
impl Send for LendingResultBuilder
impl Sync for LendingResultBuilder
impl Unpin for LendingResultBuilder
impl UnwindSafe for LendingResultBuilder
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