Struct aws_sdk_comprehend::input::DetectSentimentInput [−][src]
#[non_exhaustive]pub struct DetectSentimentInput {
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<DetectSentiment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectSentiment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetectSentiment>
Creates a new builder-style object to manufacture DetectSentimentInput
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 DetectSentimentInput
impl Send for DetectSentimentInput
impl Sync for DetectSentimentInput
impl Unpin for DetectSentimentInput
impl UnwindSafe for DetectSentimentInput
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
