Struct aws_sdk_comprehend::input::DetectKeyPhrasesInput [−][src]
#[non_exhaustive]pub struct DetectKeyPhrasesInput {
pub text: Option<String>,
pub language_code: Option<LanguageCode>,
}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.text: Option<String>A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
language_code: Option<LanguageCode>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectKeyPhrases, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectKeyPhrases, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetectKeyPhrases>
Creates a new builder-style object to manufacture DetectKeyPhrasesInput
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
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 DetectKeyPhrasesInput
impl Send for DetectKeyPhrasesInput
impl Sync for DetectKeyPhrasesInput
impl Unpin for DetectKeyPhrasesInput
impl UnwindSafe for DetectKeyPhrasesInput
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
