Struct google_language1::AnalyzeSyntaxResponse [−][src]
pub struct AnalyzeSyntaxResponse {
pub tokens: Option<Vec<Token>>,
pub language: Option<String>,
pub sentences: Option<Vec<Sentence>>,
}The syntax analysis response 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 syntax documents (response)
Fields
tokens: Option<Vec<Token>>
Tokens, along with their syntactic information, in the input document.
language: Option<String>
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.
sentences: Option<Vec<Sentence>>
Sentences in the input document.
Trait Implementations
impl Default for AnalyzeSyntaxResponse[src]
impl Default for AnalyzeSyntaxResponsefn default() -> AnalyzeSyntaxResponse[src]
fn default() -> AnalyzeSyntaxResponseReturns the "default value" for a type. Read more
impl Clone for AnalyzeSyntaxResponse[src]
impl Clone for AnalyzeSyntaxResponsefn clone(&self) -> AnalyzeSyntaxResponse[src]
fn clone(&self) -> AnalyzeSyntaxResponseReturns 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 AnalyzeSyntaxResponse[src]
impl Debug for AnalyzeSyntaxResponsefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl ResponseResult for AnalyzeSyntaxResponse[src]
impl ResponseResult for AnalyzeSyntaxResponseAuto Trait Implementations
impl Send for AnalyzeSyntaxResponse
impl Send for AnalyzeSyntaxResponseimpl Sync for AnalyzeSyntaxResponse
impl Sync for AnalyzeSyntaxResponse