#[non_exhaustive]pub struct DocumentClassifierSummary {
pub document_classifier_name: Option<String>,
pub number_of_versions: Option<i32>,
pub latest_version_created_at: Option<DateTime>,
pub latest_version_name: Option<String>,
pub latest_version_status: Option<ModelStatus>,
}Expand description
Describes information about a document classifier and its versions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.document_classifier_name: Option<String>The name that you assigned the document classifier.
number_of_versions: Option<i32>The number of versions you created.
latest_version_created_at: Option<DateTime>The time that the latest document classifier version was submitted for processing.
latest_version_name: Option<String>The version name you assigned to the latest document classifier version.
latest_version_status: Option<ModelStatus>Provides the status of the latest document classifier version.
Implementations§
source§impl DocumentClassifierSummary
impl DocumentClassifierSummary
sourcepub fn document_classifier_name(&self) -> Option<&str>
pub fn document_classifier_name(&self) -> Option<&str>
The name that you assigned the document classifier.
sourcepub fn number_of_versions(&self) -> Option<i32>
pub fn number_of_versions(&self) -> Option<i32>
The number of versions you created.
sourcepub fn latest_version_created_at(&self) -> Option<&DateTime>
pub fn latest_version_created_at(&self) -> Option<&DateTime>
The time that the latest document classifier version was submitted for processing.
sourcepub fn latest_version_name(&self) -> Option<&str>
pub fn latest_version_name(&self) -> Option<&str>
The version name you assigned to the latest document classifier version.
sourcepub fn latest_version_status(&self) -> Option<&ModelStatus>
pub fn latest_version_status(&self) -> Option<&ModelStatus>
Provides the status of the latest document classifier version.
source§impl DocumentClassifierSummary
impl DocumentClassifierSummary
sourcepub fn builder() -> DocumentClassifierSummaryBuilder
pub fn builder() -> DocumentClassifierSummaryBuilder
Creates a new builder-style object to manufacture DocumentClassifierSummary.
Trait Implementations§
source§impl Clone for DocumentClassifierSummary
impl Clone for DocumentClassifierSummary
source§fn clone(&self) -> DocumentClassifierSummary
fn clone(&self) -> DocumentClassifierSummary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DocumentClassifierSummary
impl Debug for DocumentClassifierSummary
source§impl PartialEq for DocumentClassifierSummary
impl PartialEq for DocumentClassifierSummary
source§fn eq(&self, other: &DocumentClassifierSummary) -> bool
fn eq(&self, other: &DocumentClassifierSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DocumentClassifierSummary
Auto Trait Implementations§
impl Freeze for DocumentClassifierSummary
impl RefUnwindSafe for DocumentClassifierSummary
impl Send for DocumentClassifierSummary
impl Sync for DocumentClassifierSummary
impl Unpin for DocumentClassifierSummary
impl UnwindSafe for DocumentClassifierSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.