Struct aws_sdk_textract::types::builders::SplitDocumentBuilder
source · #[non_exhaustive]pub struct SplitDocumentBuilder { /* private fields */ }
Expand description
A builder for SplitDocument
.
Implementations§
source§impl SplitDocumentBuilder
impl SplitDocumentBuilder
sourcepub fn index(self, input: i32) -> Self
pub fn index(self, input: i32) -> Self
The index for a given document in a DocumentGroup of a specific Type.
sourcepub fn set_index(self, input: Option<i32>) -> Self
pub fn set_index(self, input: Option<i32>) -> Self
The index for a given document in a DocumentGroup of a specific Type.
sourcepub fn get_index(&self) -> &Option<i32>
pub fn get_index(&self) -> &Option<i32>
The index for a given document in a DocumentGroup of a specific Type.
sourcepub fn pages(self, input: i32) -> Self
pub fn pages(self, input: i32) -> Self
Appends an item to pages
.
To override the contents of this collection use set_pages
.
An array of page numbers for a for a given document, ordered by logical boundary.
sourcepub fn set_pages(self, input: Option<Vec<i32>>) -> Self
pub fn set_pages(self, input: Option<Vec<i32>>) -> Self
An array of page numbers for a for a given document, ordered by logical boundary.
sourcepub fn get_pages(&self) -> &Option<Vec<i32>>
pub fn get_pages(&self) -> &Option<Vec<i32>>
An array of page numbers for a for a given document, ordered by logical boundary.
sourcepub fn build(self) -> SplitDocument
pub fn build(self) -> SplitDocument
Consumes the builder and constructs a SplitDocument
.
Trait Implementations§
source§impl Clone for SplitDocumentBuilder
impl Clone for SplitDocumentBuilder
source§fn clone(&self) -> SplitDocumentBuilder
fn clone(&self) -> SplitDocumentBuilder
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 Debug for SplitDocumentBuilder
impl Debug for SplitDocumentBuilder
source§impl Default for SplitDocumentBuilder
impl Default for SplitDocumentBuilder
source§fn default() -> SplitDocumentBuilder
fn default() -> SplitDocumentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SplitDocumentBuilder
impl PartialEq for SplitDocumentBuilder
source§fn eq(&self, other: &SplitDocumentBuilder) -> bool
fn eq(&self, other: &SplitDocumentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SplitDocumentBuilder
Auto Trait Implementations§
impl Freeze for SplitDocumentBuilder
impl RefUnwindSafe for SplitDocumentBuilder
impl Send for SplitDocumentBuilder
impl Sync for SplitDocumentBuilder
impl Unpin for SplitDocumentBuilder
impl UnwindSafe for SplitDocumentBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.