Struct aws_sdk_databrew::types::ExcelOptions
source · #[non_exhaustive]pub struct ExcelOptions {
pub sheet_names: Option<Vec<String>>,
pub sheet_indexes: Option<Vec<i32>>,
pub header_row: Option<bool>,
}
Expand description
Represents a set of options that define how DataBrew will interpret a Microsoft Excel file when creating a dataset from that file.
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.sheet_names: Option<Vec<String>>
One or more named sheets in the Excel file that will be included in the dataset.
sheet_indexes: Option<Vec<i32>>
One or more sheet numbers in the Excel file that will be included in the dataset.
header_row: Option<bool>
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
Implementations§
source§impl ExcelOptions
impl ExcelOptions
sourcepub fn sheet_names(&self) -> &[String]
pub fn sheet_names(&self) -> &[String]
One or more named sheets in the Excel file that will be included in the dataset.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sheet_names.is_none()
.
sourcepub fn sheet_indexes(&self) -> &[i32]
pub fn sheet_indexes(&self) -> &[i32]
One or more sheet numbers in the Excel file that will be included in the dataset.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sheet_indexes.is_none()
.
sourcepub fn header_row(&self) -> Option<bool>
pub fn header_row(&self) -> Option<bool>
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
source§impl ExcelOptions
impl ExcelOptions
sourcepub fn builder() -> ExcelOptionsBuilder
pub fn builder() -> ExcelOptionsBuilder
Creates a new builder-style object to manufacture ExcelOptions
.
Trait Implementations§
source§impl Clone for ExcelOptions
impl Clone for ExcelOptions
source§fn clone(&self) -> ExcelOptions
fn clone(&self) -> ExcelOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExcelOptions
impl Debug for ExcelOptions
source§impl PartialEq for ExcelOptions
impl PartialEq for ExcelOptions
source§fn eq(&self, other: &ExcelOptions) -> bool
fn eq(&self, other: &ExcelOptions) -> bool
self
and other
values to be equal, and is used
by ==
.