#[non_exhaustive]pub struct DetectKeyPhrasesOutput {
pub key_phrases: Option<Vec<KeyPhrase>>,
/* 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.key_phrases: Option<Vec<KeyPhrase>>A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
Implementations§
source§impl DetectKeyPhrasesOutput
impl DetectKeyPhrasesOutput
sourcepub fn key_phrases(&self) -> &[KeyPhrase]
pub fn key_phrases(&self) -> &[KeyPhrase]
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .key_phrases.is_none().
source§impl DetectKeyPhrasesOutput
impl DetectKeyPhrasesOutput
sourcepub fn builder() -> DetectKeyPhrasesOutputBuilder
pub fn builder() -> DetectKeyPhrasesOutputBuilder
Creates a new builder-style object to manufacture DetectKeyPhrasesOutput.
Trait Implementations§
source§impl Clone for DetectKeyPhrasesOutput
impl Clone for DetectKeyPhrasesOutput
source§fn clone(&self) -> DetectKeyPhrasesOutput
fn clone(&self) -> DetectKeyPhrasesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DetectKeyPhrasesOutput
impl Debug for DetectKeyPhrasesOutput
source§impl PartialEq for DetectKeyPhrasesOutput
impl PartialEq for DetectKeyPhrasesOutput
source§fn eq(&self, other: &DetectKeyPhrasesOutput) -> bool
fn eq(&self, other: &DetectKeyPhrasesOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DetectKeyPhrasesOutput
impl RequestId for DetectKeyPhrasesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.