#[non_exhaustive]pub struct DestinationOptionsBuilder { /* private fields */ }
Expand description
A builder for DestinationOptions
.
Implementations§
source§impl DestinationOptionsBuilder
impl DestinationOptionsBuilder
sourcepub fn column_map(
self,
k: impl Into<String>,
v: SourceDataColumnProperties
) -> Self
pub fn column_map( self, k: impl Into<String>, v: SourceDataColumnProperties ) -> Self
Adds a key-value pair to column_map
.
To override the contents of this collection use set_column_map
.
A map of the column id to the import properties for each column.
sourcepub fn set_column_map(
self,
input: Option<HashMap<String, SourceDataColumnProperties>>
) -> Self
pub fn set_column_map( self, input: Option<HashMap<String, SourceDataColumnProperties>> ) -> Self
A map of the column id to the import properties for each column.
sourcepub fn get_column_map(
&self
) -> &Option<HashMap<String, SourceDataColumnProperties>>
pub fn get_column_map( &self ) -> &Option<HashMap<String, SourceDataColumnProperties>>
A map of the column id to the import properties for each column.
sourcepub fn build(self) -> DestinationOptions
pub fn build(self) -> DestinationOptions
Consumes the builder and constructs a DestinationOptions
.
Trait Implementations§
source§impl Clone for DestinationOptionsBuilder
impl Clone for DestinationOptionsBuilder
source§fn clone(&self) -> DestinationOptionsBuilder
fn clone(&self) -> DestinationOptionsBuilder
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 DestinationOptionsBuilder
impl Debug for DestinationOptionsBuilder
source§impl Default for DestinationOptionsBuilder
impl Default for DestinationOptionsBuilder
source§fn default() -> DestinationOptionsBuilder
fn default() -> DestinationOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DestinationOptionsBuilder
impl PartialEq for DestinationOptionsBuilder
source§fn eq(&self, other: &DestinationOptionsBuilder) -> bool
fn eq(&self, other: &DestinationOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DestinationOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DestinationOptionsBuilder
impl Send for DestinationOptionsBuilder
impl Sync for DestinationOptionsBuilder
impl Unpin for DestinationOptionsBuilder
impl UnwindSafe for DestinationOptionsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.