Struct aws_sdk_omics::types::builders::ReadOptionsBuilder
source · #[non_exhaustive]pub struct ReadOptionsBuilder { /* private fields */ }
Expand description
A builder for ReadOptions
.
Implementations§
source§impl ReadOptionsBuilder
impl ReadOptionsBuilder
sourcepub fn set_encoding(self, input: Option<String>) -> Self
pub fn set_encoding(self, input: Option<String>) -> Self
The file's encoding.
sourcepub fn quote_all(self, input: bool) -> Self
pub fn quote_all(self, input: bool) -> Self
Whether all values need to be quoted, or just those that contain quotes.
sourcepub fn set_quote_all(self, input: Option<bool>) -> Self
pub fn set_quote_all(self, input: Option<bool>) -> Self
Whether all values need to be quoted, or just those that contain quotes.
sourcepub fn escape(self, input: impl Into<String>) -> Self
pub fn escape(self, input: impl Into<String>) -> Self
A character for escaping quotes in the file.
sourcepub fn set_escape(self, input: Option<String>) -> Self
pub fn set_escape(self, input: Option<String>) -> Self
A character for escaping quotes in the file.
sourcepub fn escape_quotes(self, input: bool) -> Self
pub fn escape_quotes(self, input: bool) -> Self
Whether quotes need to be escaped in the file.
sourcepub fn set_escape_quotes(self, input: Option<bool>) -> Self
pub fn set_escape_quotes(self, input: Option<bool>) -> Self
Whether quotes need to be escaped in the file.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
The file's comment character.
sourcepub fn set_header(self, input: Option<bool>) -> Self
pub fn set_header(self, input: Option<bool>) -> Self
Whether the file has a header row.
sourcepub fn set_line_sep(self, input: Option<String>) -> Self
pub fn set_line_sep(self, input: Option<String>) -> Self
A line separator for the file.
sourcepub fn build(self) -> ReadOptions
pub fn build(self) -> ReadOptions
Consumes the builder and constructs a ReadOptions
.
Trait Implementations§
source§impl Clone for ReadOptionsBuilder
impl Clone for ReadOptionsBuilder
source§fn clone(&self) -> ReadOptionsBuilder
fn clone(&self) -> ReadOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReadOptionsBuilder
impl Debug for ReadOptionsBuilder
source§impl Default for ReadOptionsBuilder
impl Default for ReadOptionsBuilder
source§fn default() -> ReadOptionsBuilder
fn default() -> ReadOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReadOptionsBuilder> for ReadOptionsBuilder
impl PartialEq<ReadOptionsBuilder> for ReadOptionsBuilder
source§fn eq(&self, other: &ReadOptionsBuilder) -> bool
fn eq(&self, other: &ReadOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.