#[non_exhaustive]pub struct DocumentClassifierDocuments {
pub s3_uri: String,
pub test_s3_uri: Option<String>,
}
Expand description
The location of the training documents. This parameter is required in a request to create a semi-structured document classification model.
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.s3_uri: String
The S3 URI location of the training documents specified in the S3Uri CSV file.
test_s3_uri: Option<String>
The S3 URI location of the test documents included in the TestS3Uri CSV file. This field is not required if you do not specify a test CSV file.
Implementations§
source§impl DocumentClassifierDocuments
impl DocumentClassifierDocuments
sourcepub fn s3_uri(&self) -> &str
pub fn s3_uri(&self) -> &str
The S3 URI location of the training documents specified in the S3Uri CSV file.
sourcepub fn test_s3_uri(&self) -> Option<&str>
pub fn test_s3_uri(&self) -> Option<&str>
The S3 URI location of the test documents included in the TestS3Uri CSV file. This field is not required if you do not specify a test CSV file.
source§impl DocumentClassifierDocuments
impl DocumentClassifierDocuments
sourcepub fn builder() -> DocumentClassifierDocumentsBuilder
pub fn builder() -> DocumentClassifierDocumentsBuilder
Creates a new builder-style object to manufacture DocumentClassifierDocuments
.
Trait Implementations§
source§impl Clone for DocumentClassifierDocuments
impl Clone for DocumentClassifierDocuments
source§fn clone(&self) -> DocumentClassifierDocuments
fn clone(&self) -> DocumentClassifierDocuments
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 DocumentClassifierDocuments
impl Debug for DocumentClassifierDocuments
source§impl PartialEq for DocumentClassifierDocuments
impl PartialEq for DocumentClassifierDocuments
source§fn eq(&self, other: &DocumentClassifierDocuments) -> bool
fn eq(&self, other: &DocumentClassifierDocuments) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DocumentClassifierDocuments
Auto Trait Implementations§
impl RefUnwindSafe for DocumentClassifierDocuments
impl Send for DocumentClassifierDocuments
impl Sync for DocumentClassifierDocuments
impl Unpin for DocumentClassifierDocuments
impl UnwindSafe for DocumentClassifierDocuments
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>
Creates a shared type from an unshared type.