Struct google_translate2::TranslationsResource[][src]

pub struct TranslationsResource {
    pub detected_source_language: Option<String>,
    pub model: Option<String>,
    pub translated_text: Option<String>,
}

There is no detailed description.

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

Fields

The source language of the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language will not occur and this field will be empty.

The model type used for this translation. Valid values are listed in public documentation. Can be different from requested model. Present only if specific model type was explicitly requested.

Text translated into the target language.

Trait Implementations

impl Default for TranslationsResource
[src]

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

impl Clone for TranslationsResource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TranslationsResource
[src]

Formats the value using the given formatter. Read more

impl Part for TranslationsResource
[src]

Auto Trait Implementations