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 get_encoding(&self) -> &Option<String>
pub fn get_encoding(&self) -> &Option<String>
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 get_quote_all(&self) -> &Option<bool>
pub fn get_quote_all(&self) -> &Option<bool>
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 get_escape(&self) -> &Option<String>
pub fn get_escape(&self) -> &Option<String>
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 get_escape_quotes(&self) -> &Option<bool>
pub fn get_escape_quotes(&self) -> &Option<bool>
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 get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
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 get_header(&self) -> &Option<bool>
pub fn get_header(&self) -> &Option<bool>
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 get_line_sep(&self) -> &Option<String>
pub fn get_line_sep(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ReadOptionsBuilder
impl PartialEq for ReadOptionsBuilder
source§fn eq(&self, other: &ReadOptionsBuilder) -> bool
fn eq(&self, other: &ReadOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReadOptionsBuilder
Auto Trait Implementations§
impl Freeze for ReadOptionsBuilder
impl RefUnwindSafe for ReadOptionsBuilder
impl Send for ReadOptionsBuilder
impl Sync for ReadOptionsBuilder
impl Unpin for ReadOptionsBuilder
impl UnwindSafe for ReadOptionsBuilder
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> 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