Struct google_documentai1::api::GoogleCloudDocumentaiV1DocumentEntity [−][src]
A phrase in the text that is a known entity type, such as a person, an organization, or location.
This type is not used in any activity, and only used as part of another schema.
Fields
confidence: Option<f32>
Optional. Confidence of detected Schema entity. Range [0, 1].
id: Option<String>
Optional. Canonical id. This will be a unique value in the entity list for this document.
mention_id: Option<String>
Optional. Deprecated. Use id
field instead.
mention_text: Option<String>
Optional. Text value in the document e.g. 1600 Amphitheatre Pkwy
.
normalized_value: Option<GoogleCloudDocumentaiV1DocumentEntityNormalizedValue>
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
page_anchor: Option<GoogleCloudDocumentaiV1DocumentPageAnchor>
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
properties: Option<Vec<GoogleCloudDocumentaiV1DocumentEntity>>
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
provenance: Option<GoogleCloudDocumentaiV1DocumentProvenance>
Optional. The history of this annotation.
redacted: Option<bool>
Optional. Whether the entity will be redacted for de-identification purposes.
text_anchor: Option<GoogleCloudDocumentaiV1DocumentTextAnchor>
Optional. Provenance of the entity. Text anchor indexing into the Document.text.
type_: Option<String>
Entity type from a schema e.g. Address
.
Trait Implementations
impl Clone for GoogleCloudDocumentaiV1DocumentEntity
[src]
fn clone(&self) -> GoogleCloudDocumentaiV1DocumentEntity
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudDocumentaiV1DocumentEntity
[src]
impl Default for GoogleCloudDocumentaiV1DocumentEntity
[src]
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentEntity
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GoogleCloudDocumentaiV1DocumentEntity
[src]
impl Serialize for GoogleCloudDocumentaiV1DocumentEntity
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudDocumentaiV1DocumentEntity
impl Send for GoogleCloudDocumentaiV1DocumentEntity
impl Sync for GoogleCloudDocumentaiV1DocumentEntity
impl Unpin for GoogleCloudDocumentaiV1DocumentEntity
impl UnwindSafe for GoogleCloudDocumentaiV1DocumentEntity
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,