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
impl StructuralPartialEq for ExcelOptions
Auto Trait Implementations§
impl Freeze for ExcelOptions
impl RefUnwindSafe for ExcelOptions
impl Send for ExcelOptions
impl Sync for ExcelOptions
impl Unpin for ExcelOptions
impl UnwindSafe for ExcelOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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