Struct gapi_grpc::google::cloud::documentai::v1beta1::Document [−][src]
Document represents the canonical document resource in Document Understanding AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document Understanding AI to iterate and optimize for quality.
Fields
mime_type: String
An IANA published MIME type (also referred to as media type). For more information, see https://www.iana.org/assignments/media-types/media-types.xhtml.
text: String
UTF-8 encoded text in reading order from the document.
text_styles: Vec<Style>
Styles for the [Document.text][google.cloud.documentai.v1beta1.Document.text].
pages: Vec<Page>
Visual page layout for the [Document][google.cloud.documentai.v1beta1.Document].
entities: Vec<Entity>
A list of entities detected on [Document.text][google.cloud.documentai.v1beta1.Document.text]. For document shards, entities in this list may cross shard boundaries.
entity_relations: Vec<EntityRelation>
Relationship among [Document.entities][google.cloud.documentai.v1beta1.Document.entities].
shard_info: Option<ShardInfo>
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
error: Option<Status>
Any error that occurred while processing this document.
source: Option<Source>
Original source document from the user.
Trait Implementations
impl Clone for Document
[src][+]
impl Debug for Document
[src][+]
impl Default for Document
[src][+]
impl Message for Document
[src][+]
impl PartialEq<Document> for Document
[src][+]
impl StructuralPartialEq for Document
[src]
Auto Trait Implementations
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,