Struct aws_sdk_s3control::types::JobManifestSpec
source · #[non_exhaustive]pub struct JobManifestSpec {
pub format: JobManifestFormat,
pub fields: Option<Vec<JobManifestFieldName>>,
}
Expand description
Describes the format of a manifest. If the manifest is in CSV format, also describes the columns contained within the manifest.
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.format: JobManifestFormat
Indicates which of the available formats the specified manifest uses.
fields: Option<Vec<JobManifestFieldName>>
If the specified manifest object is in the S3BatchOperations_CSV_20180820
format, this element describes which columns contain the required data.
Implementations§
source§impl JobManifestSpec
impl JobManifestSpec
sourcepub fn format(&self) -> &JobManifestFormat
pub fn format(&self) -> &JobManifestFormat
Indicates which of the available formats the specified manifest uses.
sourcepub fn fields(&self) -> &[JobManifestFieldName]
pub fn fields(&self) -> &[JobManifestFieldName]
If the specified manifest object is in the S3BatchOperations_CSV_20180820
format, this element describes which columns contain the required data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .fields.is_none()
.
source§impl JobManifestSpec
impl JobManifestSpec
sourcepub fn builder() -> JobManifestSpecBuilder
pub fn builder() -> JobManifestSpecBuilder
Creates a new builder-style object to manufacture JobManifestSpec
.
Trait Implementations§
source§impl Clone for JobManifestSpec
impl Clone for JobManifestSpec
source§fn clone(&self) -> JobManifestSpec
fn clone(&self) -> JobManifestSpec
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobManifestSpec
impl Debug for JobManifestSpec
source§impl PartialEq for JobManifestSpec
impl PartialEq for JobManifestSpec
source§fn eq(&self, other: &JobManifestSpec) -> bool
fn eq(&self, other: &JobManifestSpec) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobManifestSpec
Auto Trait Implementations§
impl Freeze for JobManifestSpec
impl RefUnwindSafe for JobManifestSpec
impl Send for JobManifestSpec
impl Sync for JobManifestSpec
impl Unpin for JobManifestSpec
impl UnwindSafe for JobManifestSpec
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