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]
impl Default for DetectionsResource
fn default() -> DetectionsResource
[src]
fn default() -> DetectionsResource
Returns the "default value" for a type. Read more
impl Clone for DetectionsResource
[src]
impl Clone for DetectionsResource
fn clone(&self) -> DetectionsResource
[src]
fn clone(&self) -> DetectionsResource
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 DetectionsResource
[src]
impl Debug for DetectionsResource
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 Part for DetectionsResource
[src]
impl Part for DetectionsResource
Auto Trait Implementations
impl Send for DetectionsResource
impl Send for DetectionsResource
impl Sync for DetectionsResource
impl Sync for DetectionsResource