#[non_exhaustive]pub struct MappingParametersBuilder { /* private fields */ }
Expand description
A builder for MappingParameters
.
Implementations§
source§impl MappingParametersBuilder
impl MappingParametersBuilder
sourcepub fn json_mapping_parameters(self, input: JsonMappingParameters) -> Self
pub fn json_mapping_parameters(self, input: JsonMappingParameters) -> Self
Provides additional mapping information when JSON is the record format on the streaming source.
sourcepub fn set_json_mapping_parameters(
self,
input: Option<JsonMappingParameters>,
) -> Self
pub fn set_json_mapping_parameters( self, input: Option<JsonMappingParameters>, ) -> Self
Provides additional mapping information when JSON is the record format on the streaming source.
sourcepub fn get_json_mapping_parameters(&self) -> &Option<JsonMappingParameters>
pub fn get_json_mapping_parameters(&self) -> &Option<JsonMappingParameters>
Provides additional mapping information when JSON is the record format on the streaming source.
sourcepub fn csv_mapping_parameters(self, input: CsvMappingParameters) -> Self
pub fn csv_mapping_parameters(self, input: CsvMappingParameters) -> Self
Provides additional mapping information when the record format uses delimiters (for example, CSV).
sourcepub fn set_csv_mapping_parameters(
self,
input: Option<CsvMappingParameters>,
) -> Self
pub fn set_csv_mapping_parameters( self, input: Option<CsvMappingParameters>, ) -> Self
Provides additional mapping information when the record format uses delimiters (for example, CSV).
sourcepub fn get_csv_mapping_parameters(&self) -> &Option<CsvMappingParameters>
pub fn get_csv_mapping_parameters(&self) -> &Option<CsvMappingParameters>
Provides additional mapping information when the record format uses delimiters (for example, CSV).
sourcepub fn build(self) -> MappingParameters
pub fn build(self) -> MappingParameters
Consumes the builder and constructs a MappingParameters
.
Trait Implementations§
source§impl Clone for MappingParametersBuilder
impl Clone for MappingParametersBuilder
source§fn clone(&self) -> MappingParametersBuilder
fn clone(&self) -> MappingParametersBuilder
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 MappingParametersBuilder
impl Debug for MappingParametersBuilder
source§impl Default for MappingParametersBuilder
impl Default for MappingParametersBuilder
source§fn default() -> MappingParametersBuilder
fn default() -> MappingParametersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MappingParametersBuilder
impl PartialEq for MappingParametersBuilder
source§fn eq(&self, other: &MappingParametersBuilder) -> bool
fn eq(&self, other: &MappingParametersBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MappingParametersBuilder
Auto Trait Implementations§
impl Freeze for MappingParametersBuilder
impl RefUnwindSafe for MappingParametersBuilder
impl Send for MappingParametersBuilder
impl Sync for MappingParametersBuilder
impl Unpin for MappingParametersBuilder
impl UnwindSafe for MappingParametersBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.