Struct aws_sdk_comprehend::model::DominantLanguage
source · #[non_exhaustive]pub struct DominantLanguage { /* private fields */ }Expand description
Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
Implementations§
source§impl DominantLanguage
impl DominantLanguage
sourcepub fn language_code(&self) -> Option<&str>
pub fn language_code(&self) -> Option<&str>
The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
source§impl DominantLanguage
impl DominantLanguage
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DominantLanguage.
Trait Implementations§
source§impl Clone for DominantLanguage
impl Clone for DominantLanguage
source§fn clone(&self) -> DominantLanguage
fn clone(&self) -> DominantLanguage
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 more