Struct aws_sdk_textract::operation::detect_document_text::builders::DetectDocumentTextOutputBuilder    
source · #[non_exhaustive]pub struct DetectDocumentTextOutputBuilder { /* private fields */ }Expand description
A builder for DetectDocumentTextOutput.
Implementations§
source§impl DetectDocumentTextOutputBuilder
 
impl DetectDocumentTextOutputBuilder
sourcepub fn document_metadata(self, input: DocumentMetadata) -> Self
 
pub fn document_metadata(self, input: DocumentMetadata) -> Self
Metadata about the document. It contains the number of pages that are detected in the document.
sourcepub fn set_document_metadata(self, input: Option<DocumentMetadata>) -> Self
 
pub fn set_document_metadata(self, input: Option<DocumentMetadata>) -> Self
Metadata about the document. It contains the number of pages that are detected in the document.
sourcepub fn blocks(self, input: Block) -> Self
 
pub fn blocks(self, input: Block) -> Self
Appends an item to blocks.
To override the contents of this collection use set_blocks.
An array of Block objects that contain the text that's detected in the document.
sourcepub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
 
pub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
An array of Block objects that contain the text that's detected in the document.
sourcepub fn detect_document_text_model_version(
    self,
    input: impl Into<String>
) -> Self
 
pub fn detect_document_text_model_version( self, input: impl Into<String> ) -> Self
sourcepub fn set_detect_document_text_model_version(
    self,
    input: Option<String>
) -> Self
 
pub fn set_detect_document_text_model_version( self, input: Option<String> ) -> Self
sourcepub fn build(self) -> DetectDocumentTextOutput
 
pub fn build(self) -> DetectDocumentTextOutput
Consumes the builder and constructs a DetectDocumentTextOutput.
Trait Implementations§
source§impl Clone for DetectDocumentTextOutputBuilder
 
impl Clone for DetectDocumentTextOutputBuilder
source§fn clone(&self) -> DetectDocumentTextOutputBuilder
 
fn clone(&self) -> DetectDocumentTextOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Default for DetectDocumentTextOutputBuilder
 
impl Default for DetectDocumentTextOutputBuilder
source§fn default() -> DetectDocumentTextOutputBuilder
 
fn default() -> DetectDocumentTextOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DetectDocumentTextOutputBuilder> for DetectDocumentTextOutputBuilder
 
impl PartialEq<DetectDocumentTextOutputBuilder> for DetectDocumentTextOutputBuilder
source§fn eq(&self, other: &DetectDocumentTextOutputBuilder) -> bool
 
fn eq(&self, other: &DetectDocumentTextOutputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DetectDocumentTextOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DetectDocumentTextOutputBuilder
impl Send for DetectDocumentTextOutputBuilder
impl Sync for DetectDocumentTextOutputBuilder
impl Unpin for DetectDocumentTextOutputBuilder
impl UnwindSafe for DetectDocumentTextOutputBuilder
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
Mutably borrows from an owned value. Read more