Enum dataflow_types::types::sources::encoding::DataEncoding [−][src]
pub enum DataEncoding {
Avro(AvroEncoding),
AvroOcf(AvroOcfEncoding),
Protobuf(ProtobufEncoding),
Csv(CsvEncoding),
Regex(RegexEncoding),
Postgres,
Bytes,
Text,
}
Expand description
A description of how each row should be decoded, from a string of bytes to a sequence of Differential updates.
Variants
Avro(AvroEncoding)
Tuple Fields
0: AvroEncoding
AvroOcf(AvroOcfEncoding)
Tuple Fields
Protobuf(ProtobufEncoding)
Tuple Fields
Csv(CsvEncoding)
Tuple Fields
0: CsvEncoding
Regex(RegexEncoding)
Tuple Fields
Postgres
Bytes
Text
Implementations
Computes the RelationDesc
for the relation specified by this
data encoding and envelope.
If a key desc is provided it will be prepended to the returned desc
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DataEncoding
impl Send for DataEncoding
impl Sync for DataEncoding
impl Unpin for DataEncoding
impl UnwindSafe for DataEncoding
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more