#[non_exhaustive]pub struct DelimitedTextImportOptions {
pub delimiter: Option<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: Option<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
sourceimpl DelimitedTextImportOptions
impl DelimitedTextImportOptions
sourcepub fn delimiter(&self) -> Option<&str>
pub fn delimiter(&self) -> Option<&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.
sourceimpl DelimitedTextImportOptions
impl DelimitedTextImportOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DelimitedTextImportOptions
Trait Implementations
sourceimpl Clone for DelimitedTextImportOptions
impl Clone for DelimitedTextImportOptions
sourcefn clone(&self) -> DelimitedTextImportOptions
fn clone(&self) -> DelimitedTextImportOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DelimitedTextImportOptions
impl Debug for DelimitedTextImportOptions
sourceimpl PartialEq<DelimitedTextImportOptions> for DelimitedTextImportOptions
impl PartialEq<DelimitedTextImportOptions> for DelimitedTextImportOptions
sourcefn eq(&self, other: &DelimitedTextImportOptions) -> bool
fn eq(&self, other: &DelimitedTextImportOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DelimitedTextImportOptions) -> bool
fn ne(&self, other: &DelimitedTextImportOptions) -> bool
This method tests for !=
.
impl StructuralPartialEq for DelimitedTextImportOptions
Auto Trait Implementations
impl RefUnwindSafe for DelimitedTextImportOptions
impl Send for DelimitedTextImportOptions
impl Sync for DelimitedTextImportOptions
impl Unpin for DelimitedTextImportOptions
impl UnwindSafe for DelimitedTextImportOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more