Struct google_translate2::DetectionsResource[][src]

pub struct DetectionsResource {
    pub is_reliable: Option<bool>,
    pub confidence: Option<f32>,
    pub language: Option<String>,
}

An array of languages which we detect for the given text The most likely language list first.

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

The contained type is Option<Vec<DetectionsResourceDetectionsResource>>.

Fields

A boolean to indicate is the language detection result reliable.

The confidence of the detection result of this language.

The language we detected.

Trait Implementations

impl Default for DetectionsResource
[src]

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

impl Clone for DetectionsResource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DetectionsResource
[src]

Formats the value using the given formatter. Read more

impl Part for DetectionsResource
[src]

Auto Trait Implementations