Struct google_language1_beta1::api::AnalyzeSyntaxResponse
source · pub struct AnalyzeSyntaxResponse {
pub language: Option<String>,
pub sentences: Option<Vec<Sentence>>,
pub tokens: Option<Vec<Token>>,
}
Expand description
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§
§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.
tokens: Option<Vec<Token>>
Tokens, along with their syntactic information, in the input document.
Trait Implementations§
source§impl Clone for AnalyzeSyntaxResponse
impl Clone for AnalyzeSyntaxResponse
source§fn clone(&self) -> AnalyzeSyntaxResponse
fn clone(&self) -> AnalyzeSyntaxResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnalyzeSyntaxResponse
impl Debug for AnalyzeSyntaxResponse
source§impl Default for AnalyzeSyntaxResponse
impl Default for AnalyzeSyntaxResponse
source§fn default() -> AnalyzeSyntaxResponse
fn default() -> AnalyzeSyntaxResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AnalyzeSyntaxResponse
impl<'de> Deserialize<'de> for AnalyzeSyntaxResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for AnalyzeSyntaxResponse
impl Serialize for AnalyzeSyntaxResponse
impl ResponseResult for AnalyzeSyntaxResponse
Auto Trait Implementations§
impl RefUnwindSafe for AnalyzeSyntaxResponse
impl Send for AnalyzeSyntaxResponse
impl Sync for AnalyzeSyntaxResponse
impl Unpin for AnalyzeSyntaxResponse
impl UnwindSafe for AnalyzeSyntaxResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more