#[non_exhaustive]pub struct DelimitedTextImportOptions {
pub delimiter: String,
pub has_header_row: bool,
pub ignore_empty_rows: bool,
pub data_character_encoding: Option<ImportDataCharacterEncoding>,
}
Expand description
An object that contains the options relating to parsing delimited text as part of an import request.
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.delimiter: String
The delimiter to use for separating columns in a single row of the input.
has_header_row: bool
Indicates whether the input file has a header row at the top containing the column names.
ignore_empty_rows: bool
A parameter to indicate whether empty rows should be ignored or be included in the import.
data_character_encoding: Option<ImportDataCharacterEncoding>
The encoding of the data in the input file.
Implementations§
source§impl DelimitedTextImportOptions
impl DelimitedTextImportOptions
sourcepub fn delimiter(&self) -> &str
pub fn delimiter(&self) -> &str
The delimiter to use for separating columns in a single row of the input.
sourcepub fn has_header_row(&self) -> bool
pub fn has_header_row(&self) -> bool
Indicates whether the input file has a header row at the top containing the column names.
sourcepub fn ignore_empty_rows(&self) -> bool
pub fn ignore_empty_rows(&self) -> bool
A parameter to indicate whether empty rows should be ignored or be included in the import.
sourcepub fn data_character_encoding(&self) -> Option<&ImportDataCharacterEncoding>
pub fn data_character_encoding(&self) -> Option<&ImportDataCharacterEncoding>
The encoding of the data in the input file.
source§impl DelimitedTextImportOptions
impl DelimitedTextImportOptions
sourcepub fn builder() -> DelimitedTextImportOptionsBuilder
pub fn builder() -> DelimitedTextImportOptionsBuilder
Creates a new builder-style object to manufacture DelimitedTextImportOptions
.
Trait Implementations§
source§impl Clone for DelimitedTextImportOptions
impl Clone for DelimitedTextImportOptions
source§fn clone(&self) -> DelimitedTextImportOptions
fn clone(&self) -> DelimitedTextImportOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DelimitedTextImportOptions
impl Debug for DelimitedTextImportOptions
source§impl PartialEq for DelimitedTextImportOptions
impl PartialEq for DelimitedTextImportOptions
source§fn eq(&self, other: &DelimitedTextImportOptions) -> bool
fn eq(&self, other: &DelimitedTextImportOptions) -> bool
self
and other
values to be equal, and is used
by ==
.