Struct gapi_grpc::google::cloud::documentai::v1::document::TextChange[][src]

pub struct TextChange {
    pub text_anchor: Option<TextAnchor>,
    pub changed_text: String,
    pub provenance: Vec<Provenance>,
}

This message is used for text changes aka. OCR corrections.

Fields

text_anchor: Option<TextAnchor>

Provenance of the correction. Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. There can only be a single TextAnchor.text_segments element. If the start and end index of the text segment are the same, the text change is inserted before that index.

changed_text: String

The text that replaces the text identified in the text_anchor.

provenance: Vec<Provenance>

The history of this annotation.

Trait Implementations

impl Clone for TextChange[src]

impl Debug for TextChange[src]

impl Default for TextChange[src]

impl Message for TextChange[src]

impl PartialEq<TextChange> for TextChange[src]

impl StructuralPartialEq for TextChange[src]

Auto Trait Implementations

impl RefUnwindSafe for TextChange

impl Send for TextChange

impl Sync for TextChange

impl Unpin for TextChange

impl UnwindSafe for TextChange

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]