Struct aws_sdk_kinesisanalytics::types::SourceSchema
source · #[non_exhaustive]pub struct SourceSchema {
pub record_format: Option<RecordFormat>,
pub record_encoding: Option<String>,
pub record_columns: Vec<RecordColumn>,
}
Expand description
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.record_format: Option<RecordFormat>
Specifies the format of the records on the streaming source.
record_encoding: Option<String>
Specifies the encoding of the records in the streaming source. For example, UTF-8.
record_columns: Vec<RecordColumn>
A list of RecordColumn
objects.
Implementations§
source§impl SourceSchema
impl SourceSchema
sourcepub fn record_format(&self) -> Option<&RecordFormat>
pub fn record_format(&self) -> Option<&RecordFormat>
Specifies the format of the records on the streaming source.
sourcepub fn record_encoding(&self) -> Option<&str>
pub fn record_encoding(&self) -> Option<&str>
Specifies the encoding of the records in the streaming source. For example, UTF-8.
sourcepub fn record_columns(&self) -> &[RecordColumn]
pub fn record_columns(&self) -> &[RecordColumn]
A list of RecordColumn
objects.
source§impl SourceSchema
impl SourceSchema
sourcepub fn builder() -> SourceSchemaBuilder
pub fn builder() -> SourceSchemaBuilder
Creates a new builder-style object to manufacture SourceSchema
.
Trait Implementations§
source§impl Clone for SourceSchema
impl Clone for SourceSchema
source§fn clone(&self) -> SourceSchema
fn clone(&self) -> SourceSchema
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 SourceSchema
impl Debug for SourceSchema
source§impl PartialEq for SourceSchema
impl PartialEq for SourceSchema
source§fn eq(&self, other: &SourceSchema) -> bool
fn eq(&self, other: &SourceSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceSchema
Auto Trait Implementations§
impl Freeze for SourceSchema
impl RefUnwindSafe for SourceSchema
impl Send for SourceSchema
impl Sync for SourceSchema
impl Unpin for SourceSchema
impl UnwindSafe for SourceSchema
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.