Struct aws_sdk_comprehend::types::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() -> DominantLanguageBuilder
pub fn builder() -> DominantLanguageBuilder
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 moresource§impl Debug for DominantLanguage
impl Debug for DominantLanguage
source§impl PartialEq<DominantLanguage> for DominantLanguage
impl PartialEq<DominantLanguage> for DominantLanguage
source§fn eq(&self, other: &DominantLanguage) -> bool
fn eq(&self, other: &DominantLanguage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.