#[non_exhaustive]pub struct GetDocumentAnalysisInput {
pub job_id: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
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.job_id: Option<String>
A unique identifier for the text-detection job. The JobId
is returned from StartDocumentAnalysis
. A JobId
value is only valid for 7 days.
max_results: Option<i32>
The maximum number of results to return per paginated call. The largest value that you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.
next_token: Option<String>
If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.
Implementations§
source§impl GetDocumentAnalysisInput
impl GetDocumentAnalysisInput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
A unique identifier for the text-detection job. The JobId
is returned from StartDocumentAnalysis
. A JobId
value is only valid for 7 days.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per paginated call. The largest value that you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.
source§impl GetDocumentAnalysisInput
impl GetDocumentAnalysisInput
sourcepub fn builder() -> GetDocumentAnalysisInputBuilder
pub fn builder() -> GetDocumentAnalysisInputBuilder
Creates a new builder-style object to manufacture GetDocumentAnalysisInput
.
Trait Implementations§
source§impl Clone for GetDocumentAnalysisInput
impl Clone for GetDocumentAnalysisInput
source§fn clone(&self) -> GetDocumentAnalysisInput
fn clone(&self) -> GetDocumentAnalysisInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDocumentAnalysisInput
impl Debug for GetDocumentAnalysisInput
source§impl PartialEq for GetDocumentAnalysisInput
impl PartialEq for GetDocumentAnalysisInput
source§fn eq(&self, other: &GetDocumentAnalysisInput) -> bool
fn eq(&self, other: &GetDocumentAnalysisInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDocumentAnalysisInput
Auto Trait Implementations§
impl Freeze for GetDocumentAnalysisInput
impl RefUnwindSafe for GetDocumentAnalysisInput
impl Send for GetDocumentAnalysisInput
impl Sync for GetDocumentAnalysisInput
impl Unpin for GetDocumentAnalysisInput
impl UnwindSafe for GetDocumentAnalysisInput
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> 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