Struct aws_sdk_translate::error::UnsupportedLanguagePairException [−][src]
#[non_exhaustive]pub struct UnsupportedLanguagePairException {
pub message: Option<String>,
pub source_language_code: Option<String>,
pub target_language_code: Option<String>,
}
Expand description
Amazon Translate does not support translation from the language of the source text into the requested target language. For more information, see how-to-error-msg.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.message: Option<String>
source_language_code: Option<String>
The language code for the language of the input text.
target_language_code: Option<String>
The language code for the language of the translated text.
Implementations
The language code for the language of the input text.
The language code for the language of the translated text.
Creates a new builder-style object to manufacture UnsupportedLanguagePairException
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for UnsupportedLanguagePairException
impl Sync for UnsupportedLanguagePairException
impl Unpin for UnsupportedLanguagePairException
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more