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 ClassifyTextResponsefn default() -> ClassifyTextResponse[src]
fn default() -> ClassifyTextResponseReturns the "default value" for a type. Read more
impl Clone for ClassifyTextResponse[src]
impl Clone for ClassifyTextResponsefn clone(&self) -> ClassifyTextResponse[src]
fn clone(&self) -> ClassifyTextResponseReturns 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 ClassifyTextResponsefn 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 ClassifyTextResponse[src]
impl ResponseResult for ClassifyTextResponseAuto Trait Implementations
impl Send for ClassifyTextResponse
impl Send for ClassifyTextResponseimpl Sync for ClassifyTextResponse
impl Sync for ClassifyTextResponse