Struct google_language1::TextSpan[][src]

pub struct TextSpan {
    pub content: Option<String>,
    pub begin_offset: Option<i32>,
}

Represents an output piece of text.

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

Fields

The content of the output text.

The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.

Trait Implementations

impl Default for TextSpan
[src]

Returns the "default value" for a type. Read more

impl Clone for TextSpan
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextSpan
[src]

Formats the value using the given formatter. Read more

impl Part for TextSpan
[src]

Auto Trait Implementations

impl Send for TextSpan

impl Sync for TextSpan