#[non_exhaustive]pub struct DetectedLanguageLowConfidenceException { /* private fields */ }
Expand description
The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the DetectDominantLanguage operation in the Amazon Comprehend Developer Guide.
Implementations§
source§impl DetectedLanguageLowConfidenceException
impl DetectedLanguageLowConfidenceException
sourcepub fn detected_language_code(&self) -> Option<&str>
pub fn detected_language_code(&self) -> Option<&str>
The language code of the auto-detected language from Amazon Comprehend.
source§impl DetectedLanguageLowConfidenceException
impl DetectedLanguageLowConfidenceException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectedLanguageLowConfidenceException
.
Trait Implementations§
source§impl Clone for DetectedLanguageLowConfidenceException
impl Clone for DetectedLanguageLowConfidenceException
source§fn clone(&self) -> DetectedLanguageLowConfidenceException
fn clone(&self) -> DetectedLanguageLowConfidenceException
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Error for DetectedLanguageLowConfidenceException
impl Error for DetectedLanguageLowConfidenceException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<DetectedLanguageLowConfidenceException> for DetectedLanguageLowConfidenceException
impl PartialEq<DetectedLanguageLowConfidenceException> for DetectedLanguageLowConfidenceException
source§fn eq(&self, other: &DetectedLanguageLowConfidenceException) -> bool
fn eq(&self, other: &DetectedLanguageLowConfidenceException) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.