[][src]Struct rusoto_translate::TranslateTextRequest

pub struct TranslateTextRequest {
    pub source_language_code: String,
    pub target_language_code: String,
    pub text: String,
}

Fields

One of the supported language codes for the source text. If the TargetLanguageCode is not "en", the SourceLanguageCode must be "en".

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

One of the supported language codes for the target text. If the SourceLanguageCode is not "en", the TargetLanguageCode must be "en".

The text to translate.

Trait Implementations

impl Clone for TranslateTextRequest
[src]

Performs copy-assignment from source. Read more

impl Default for TranslateTextRequest
[src]

impl PartialEq<TranslateTextRequest> for TranslateTextRequest
[src]

impl Debug for TranslateTextRequest
[src]

impl Serialize for TranslateTextRequest
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T