Struct aws_sdk_comprehend::output::ClassifyDocumentOutput
source · [−]#[non_exhaustive]pub struct ClassifyDocumentOutput { /* private fields */ }Implementations
sourceimpl ClassifyDocumentOutput
impl ClassifyDocumentOutput
sourcepub fn classes(&self) -> Option<&[DocumentClass]>
pub fn classes(&self) -> Option<&[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.
sourcepub fn labels(&self) -> Option<&[DocumentLabel]>
pub fn labels(&self) -> Option<&[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.
sourceimpl ClassifyDocumentOutput
impl ClassifyDocumentOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClassifyDocumentOutput.
Trait Implementations
sourceimpl Clone for ClassifyDocumentOutput
impl Clone for ClassifyDocumentOutput
sourcefn clone(&self) -> ClassifyDocumentOutput
fn clone(&self) -> ClassifyDocumentOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ClassifyDocumentOutput
impl Debug for ClassifyDocumentOutput
sourceimpl PartialEq<ClassifyDocumentOutput> for ClassifyDocumentOutput
impl PartialEq<ClassifyDocumentOutput> for ClassifyDocumentOutput
sourcefn eq(&self, other: &ClassifyDocumentOutput) -> bool
fn eq(&self, other: &ClassifyDocumentOutput) -> bool
impl StructuralPartialEq for ClassifyDocumentOutput
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more