Struct google_language1_beta1::AnalyzeSentimentRequest [−][src]
pub struct AnalyzeSentimentRequest { pub encoding_type: Option<String>, pub document: Option<Document>, }
The sentiment analysis request message.
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).
- analyze sentiment documents (request)
Fields
encoding_type: Option<String>
The encoding type used by the API to calculate sentence offsets for the sentence sentiment.
document: Option<Document>
Input document.
Trait Implementations
impl Default for AnalyzeSentimentRequest
[src]
impl Default for AnalyzeSentimentRequest
fn default() -> AnalyzeSentimentRequest
[src]
fn default() -> AnalyzeSentimentRequest
Returns the "default value" for a type. Read more
impl Clone for AnalyzeSentimentRequest
[src]
impl Clone for AnalyzeSentimentRequest
fn clone(&self) -> AnalyzeSentimentRequest
[src]
fn clone(&self) -> AnalyzeSentimentRequest
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 AnalyzeSentimentRequest
[src]
impl Debug for AnalyzeSentimentRequest
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 AnalyzeSentimentRequest
[src]
impl RequestValue for AnalyzeSentimentRequest
Auto Trait Implementations
impl Send for AnalyzeSentimentRequest
impl Send for AnalyzeSentimentRequest
impl Sync for AnalyzeSentimentRequest
impl Sync for AnalyzeSentimentRequest