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: JobManifestFormatIndicates 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 ==.