#[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 ==
.