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
is_reliable: Option<bool>
A boolean to indicate is the language detection result reliable.
confidence: Option<f32>
The confidence of the detection result of this language.
language: Option<String>
The language we detected.
Trait Implementations
impl Default for DetectionsResource
[src]
fn default() -> DetectionsResource
[src]
Returns the "default value" for a type. Read more
impl Clone for DetectionsResource
[src]
fn clone(&self) -> DetectionsResource
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more