Struct google_language1::ClassifyTextResponse [−][src]
pub struct ClassifyTextResponse { pub categories: Option<Vec<ClassificationCategory>>, }
The document classification 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).
- classify text documents (response)
Fields
categories: Option<Vec<ClassificationCategory>>
Categories representing the input document.
Trait Implementations
impl Default for ClassifyTextResponse
[src]
impl Default for ClassifyTextResponse
fn default() -> ClassifyTextResponse
[src]
fn default() -> ClassifyTextResponse
Returns the "default value" for a type. Read more
impl Clone for ClassifyTextResponse
[src]
impl Clone for ClassifyTextResponse
fn clone(&self) -> ClassifyTextResponse
[src]
fn clone(&self) -> ClassifyTextResponse
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 ClassifyTextResponse
[src]
impl Debug for ClassifyTextResponse
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 ResponseResult for ClassifyTextResponse
[src]
impl ResponseResult for ClassifyTextResponse
Auto Trait Implementations
impl Send for ClassifyTextResponse
impl Send for ClassifyTextResponse
impl Sync for ClassifyTextResponse
impl Sync for ClassifyTextResponse