Struct google_language1::ClassificationCategory[][src]

pub struct ClassificationCategory {
    pub confidence: Option<f32>,
    pub name: Option<String>,
}

Represents a category returned from the text classifier.

This type is not used in any activity, and only used as part of another schema.

Fields

The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.

The name of the category representing the document, from the predefined taxonomy.

Trait Implementations

impl Default for ClassificationCategory
[src]

Returns the "default value" for a type. Read more

impl Clone for ClassificationCategory
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClassificationCategory
[src]

Formats the value using the given formatter. Read more

impl Part for ClassificationCategory
[src]

Auto Trait Implementations