#[non_exhaustive]pub struct MappingParameters {
pub json_mapping_parameters: Option<JsonMappingParameters>,
pub csv_mapping_parameters: Option<CsvMappingParameters>,
}
Expand description
When you configure a SQL-based Kinesis Data Analytics application's input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
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.json_mapping_parameters: Option<JsonMappingParameters>
Provides additional mapping information when JSON is the record format on the streaming source.
csv_mapping_parameters: Option<CsvMappingParameters>
Provides additional mapping information when the record format uses delimiters (for example, CSV).
Implementations
sourceimpl MappingParameters
impl MappingParameters
sourcepub fn json_mapping_parameters(&self) -> Option<&JsonMappingParameters>
pub fn 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) -> Option<&CsvMappingParameters>
pub fn csv_mapping_parameters(&self) -> Option<&CsvMappingParameters>
Provides additional mapping information when the record format uses delimiters (for example, CSV).
sourceimpl MappingParameters
impl MappingParameters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MappingParameters
Trait Implementations
sourceimpl Clone for MappingParameters
impl Clone for MappingParameters
sourcefn clone(&self) -> MappingParameters
fn clone(&self) -> MappingParameters
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 MappingParameters
impl Debug for MappingParameters
sourceimpl PartialEq<MappingParameters> for MappingParameters
impl PartialEq<MappingParameters> for MappingParameters
sourcefn eq(&self, other: &MappingParameters) -> bool
fn eq(&self, other: &MappingParameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MappingParameters) -> bool
fn ne(&self, other: &MappingParameters) -> bool
This method tests for !=
.
impl StructuralPartialEq for MappingParameters
Auto Trait Implementations
impl RefUnwindSafe for MappingParameters
impl Send for MappingParameters
impl Sync for MappingParameters
impl Unpin for MappingParameters
impl UnwindSafe for MappingParameters
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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