Struct aws_sdk_comprehend::input::DetectSyntaxInput [−][src]
#[non_exhaustive]pub struct DetectSyntaxInput {
pub text: Option<String>,
pub language_code: Option<SyntaxLanguageCode>,
}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 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.
language_code: Option<SyntaxLanguageCode>The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectSyntax, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectSyntax, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetectSyntax>
Creates a new builder-style object to manufacture DetectSyntaxInput
A UTF-8 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.
The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").
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 DetectSyntaxInput
impl Send for DetectSyntaxInput
impl Sync for DetectSyntaxInput
impl Unpin for DetectSyntaxInput
impl UnwindSafe for DetectSyntaxInput
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
