pub struct GoogleCloudDocumentaiV1beta2DocumentTextAnchor {
pub content: Option<String>,
pub text_segments: Option<Vec<GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment>>,
}
Expand description
Text reference indexing into the Document.text.
This type is not used in any activity, and only used as part of another schema.
Fields§
§content: Option<String>
Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.
text_segments: Option<Vec<GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment>>
The text segments from the Document.text.
Trait Implementations§
source§impl Clone for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
impl Clone for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
source§fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentTextAnchor
fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentTextAnchor
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 Default for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
impl Default for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
source§fn default() -> GoogleCloudDocumentaiV1beta2DocumentTextAnchor
fn default() -> GoogleCloudDocumentaiV1beta2DocumentTextAnchor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
impl Send for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
impl Sync for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
impl Unpin for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
impl UnwindSafe for GoogleCloudDocumentaiV1beta2DocumentTextAnchor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more