#[non_exhaustive]pub struct AdapterVersionDatasetConfig {
pub manifest_s3_object: Option<S3Object>,
}
Expand description
The dataset configuration options for a given version of an adapter. Can include an Amazon S3 bucket if specified.
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.manifest_s3_object: Option<S3Object>
The S3 bucket name and file name that identifies the document.
The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.
For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.
Implementations§
source§impl AdapterVersionDatasetConfig
impl AdapterVersionDatasetConfig
sourcepub fn manifest_s3_object(&self) -> Option<&S3Object>
pub fn manifest_s3_object(&self) -> Option<&S3Object>
The S3 bucket name and file name that identifies the document.
The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.
For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.
source§impl AdapterVersionDatasetConfig
impl AdapterVersionDatasetConfig
sourcepub fn builder() -> AdapterVersionDatasetConfigBuilder
pub fn builder() -> AdapterVersionDatasetConfigBuilder
Creates a new builder-style object to manufacture AdapterVersionDatasetConfig
.
Trait Implementations§
source§impl Clone for AdapterVersionDatasetConfig
impl Clone for AdapterVersionDatasetConfig
source§fn clone(&self) -> AdapterVersionDatasetConfig
fn clone(&self) -> AdapterVersionDatasetConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdapterVersionDatasetConfig
impl Debug for AdapterVersionDatasetConfig
source§impl PartialEq for AdapterVersionDatasetConfig
impl PartialEq for AdapterVersionDatasetConfig
source§fn eq(&self, other: &AdapterVersionDatasetConfig) -> bool
fn eq(&self, other: &AdapterVersionDatasetConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdapterVersionDatasetConfig
Auto Trait Implementations§
impl Freeze for AdapterVersionDatasetConfig
impl RefUnwindSafe for AdapterVersionDatasetConfig
impl Send for AdapterVersionDatasetConfig
impl Sync for AdapterVersionDatasetConfig
impl Unpin for AdapterVersionDatasetConfig
impl UnwindSafe for AdapterVersionDatasetConfig
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
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>
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>
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 more