Struct aws_sdk_comprehend::output::ClassifyDocumentOutput [−][src]
#[non_exhaustive]pub struct ClassifyDocumentOutput {
pub classes: Option<Vec<DocumentClass>>,
pub labels: Option<Vec<DocumentLabel>>,
}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.classes: Option<Vec<DocumentClass>>The classes used by the document being analyzed. These are used for multi-class trained models. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time.
labels: Option<Vec<DocumentLabel>>The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.
Implementations
The classes used by the document being analyzed. These are used for multi-class trained models. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time.
The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.
Creates a new builder-style object to manufacture ClassifyDocumentOutput
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 ClassifyDocumentOutput
impl Send for ClassifyDocumentOutput
impl Sync for ClassifyDocumentOutput
impl Unpin for ClassifyDocumentOutput
impl UnwindSafe for ClassifyDocumentOutput
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
