Struct google_documentai1::api::GoogleCloudDocumentaiV1DocumentShardInfo[][src]

pub struct GoogleCloudDocumentaiV1DocumentShardInfo {
    pub shard_count: Option<String>,
    pub shard_index: Option<String>,
    pub text_offset: Option<String>,
}

For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.

This type is not used in any activity, and only used as part of another schema.

Fields

shard_count: Option<String>

Total number of shards.

shard_index: Option<String>

The 0-based index of this shard.

text_offset: Option<String>

The index of the first character in Document.text in the overall document global text.

Trait Implementations

impl Clone for GoogleCloudDocumentaiV1DocumentShardInfo[src]

impl Debug for GoogleCloudDocumentaiV1DocumentShardInfo[src]

impl Default for GoogleCloudDocumentaiV1DocumentShardInfo[src]

impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentShardInfo[src]

impl Part for GoogleCloudDocumentaiV1DocumentShardInfo[src]

impl Serialize for GoogleCloudDocumentaiV1DocumentShardInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.