Struct aws_sdk_comprehend::model::DominantLanguage [−][src]
#[non_exhaustive]pub struct DominantLanguage {
pub language_code: Option<String>,
pub score: Option<f32>,
}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.
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.language_code: Option<String>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.
score: Option<f32>The level of confidence that Amazon Comprehend has in the accuracy of the detection.
Implementations
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.
Creates a new builder-style object to manufacture DominantLanguage
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DominantLanguage
impl Send for DominantLanguage
impl Sync for DominantLanguage
impl Unpin for DominantLanguage
impl UnwindSafe for DominantLanguage
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
