Struct google_language1::AnnotateTextRequest [−][src]
pub struct AnnotateTextRequest { pub encoding_type: Option<String>, pub document: Option<Document>, pub features: Option<Features>, }
The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- annotate text documents (request)
Fields
encoding_type: Option<String>
The encoding type used by the API to calculate offsets.
document: Option<Document>
Input document.
features: Option<Features>
The enabled features.
Trait Implementations
impl Default for AnnotateTextRequest
[src]
impl Default for AnnotateTextRequest
fn default() -> AnnotateTextRequest
[src]
fn default() -> AnnotateTextRequest
Returns the "default value" for a type. Read more
impl Clone for AnnotateTextRequest
[src]
impl Clone for AnnotateTextRequest
fn clone(&self) -> AnnotateTextRequest
[src]
fn clone(&self) -> AnnotateTextRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AnnotateTextRequest
[src]
impl Debug for AnnotateTextRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for AnnotateTextRequest
[src]
impl RequestValue for AnnotateTextRequest
Auto Trait Implementations
impl Send for AnnotateTextRequest
impl Send for AnnotateTextRequest
impl Sync for AnnotateTextRequest
impl Sync for AnnotateTextRequest