Struct aws_sdk_comprehend::operation::detect_dominant_language::DetectDominantLanguageOutput
source · #[non_exhaustive]pub struct DetectDominantLanguageOutput { /* private fields */ }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
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 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
This method tests for
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>
Returns the request ID, or
None if the service could not be reached.