Struct aws_sdk_translate::output::TranslateTextOutput
source · [−]#[non_exhaustive]pub struct TranslateTextOutput {
pub translated_text: Option<String>,
pub source_language_code: Option<String>,
pub target_language_code: Option<String>,
pub applied_terminologies: Option<Vec<AppliedTerminology>>,
pub applied_settings: Option<TranslationSettings>,
}
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.translated_text: Option<String>
The translated text.
source_language_code: Option<String>
The language code for the language of the source text.
target_language_code: Option<String>
The language code for the language of the target text.
applied_terminologies: Option<Vec<AppliedTerminology>>
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.
applied_settings: Option<TranslationSettings>
Settings that configure the translation output.
Implementations
The translated text.
The language code for the language of the source text.
The language code for the language of the target text.
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.
Settings that configure the translation output.
Creates a new builder-style object to manufacture TranslateTextOutput
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 RefUnwindSafe for TranslateTextOutput
impl Send for TranslateTextOutput
impl Sync for TranslateTextOutput
impl Unpin for TranslateTextOutput
impl UnwindSafe for TranslateTextOutput
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