Struct aws_sdk_comprehend::operation::detect_dominant_language::DetectDominantLanguageOutput   
source · #[non_exhaustive]pub struct DetectDominantLanguageOutput {
    pub languages: Option<Vec<DominantLanguage>>,
    /* private fields */
}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.languages: Option<Vec<DominantLanguage>>Array of languages that Amazon Comprehend detected in the input text. The array is sorted in descending order of the score (the dominant language is always the first element in the array).
For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
Implementations§
source§impl DetectDominantLanguageOutput
 
impl DetectDominantLanguageOutput
sourcepub fn languages(&self) -> Option<&[DominantLanguage]>
 
pub fn languages(&self) -> Option<&[DominantLanguage]>
Array of languages that Amazon Comprehend detected in the input text. The array is sorted in descending order of the score (the dominant language is always the first element in the array).
For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
source§impl DetectDominantLanguageOutput
 
impl DetectDominantLanguageOutput
sourcepub fn builder() -> DetectDominantLanguageOutputBuilder
 
pub fn builder() -> DetectDominantLanguageOutputBuilder
Creates a new builder-style object to manufacture DetectDominantLanguageOutput.
Trait Implementations§
source§impl Clone for DetectDominantLanguageOutput
 
impl Clone for DetectDominantLanguageOutput
source§fn clone(&self) -> DetectDominantLanguageOutput
 
fn clone(&self) -> DetectDominantLanguageOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DetectDominantLanguageOutput
 
impl Debug for DetectDominantLanguageOutput
source§impl PartialEq<DetectDominantLanguageOutput> for DetectDominantLanguageOutput
 
impl PartialEq<DetectDominantLanguageOutput> for DetectDominantLanguageOutput
source§fn eq(&self, other: &DetectDominantLanguageOutput) -> bool
 
fn eq(&self, other: &DetectDominantLanguageOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DetectDominantLanguageOutput
 
impl RequestId for DetectDominantLanguageOutput
source§fn request_id(&self) -> Option<&str>
 
fn request_id(&self) -> Option<&str>
None if the service could not be reached.