Struct aws_sdk_textract::model::PageClassification
source · #[non_exhaustive]pub struct PageClassification { /* private fields */ }
Expand description
The class assigned to a Page object detected in an input document. Contains information regarding the predicted type/class of a document's page and the page number that the Page object was detected on.
Implementations§
source§impl PageClassification
impl PageClassification
sourcepub fn page_type(&self) -> Option<&[Prediction]>
pub fn page_type(&self) -> Option<&[Prediction]>
The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
sourcepub fn page_number(&self) -> Option<&[Prediction]>
pub fn page_number(&self) -> Option<&[Prediction]>
The page number the value was detected on, relative to Amazon Textract's starting position.
source§impl PageClassification
impl PageClassification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PageClassification
.
Trait Implementations§
source§impl Clone for PageClassification
impl Clone for PageClassification
source§fn clone(&self) -> PageClassification
fn clone(&self) -> PageClassification
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 PageClassification
impl Debug for PageClassification
source§impl PartialEq<PageClassification> for PageClassification
impl PartialEq<PageClassification> for PageClassification
source§fn eq(&self, other: &PageClassification) -> bool
fn eq(&self, other: &PageClassification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.