Struct google_documentai1_beta2::api::GoogleCloudDocumentaiV1beta2DocumentEntity [−][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<GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue>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<GoogleCloudDocumentaiV1beta2DocumentPageAnchor>Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
properties: Option<Vec<GoogleCloudDocumentaiV1beta2DocumentEntity>>Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
provenance: Option<GoogleCloudDocumentaiV1beta2DocumentProvenance>Optional. The history of this annotation.
redacted: Option<bool>Optional. Whether the entity will be redacted for de-identification purposes.
text_anchor: Option<GoogleCloudDocumentaiV1beta2DocumentTextAnchor>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 GoogleCloudDocumentaiV1beta2DocumentEntity[src]
fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentEntity[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
impl Default for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
impl Serialize for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
impl Send for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
impl Sync for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
impl Unpin for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
impl UnwindSafe for GoogleCloudDocumentaiV1beta2DocumentEntity[src]
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>,