Enum dataflow_types::sources::SourceEnvelope [−][src]
pub enum SourceEnvelope {
None(KeyEnvelope),
Debezium(DebeziumEnvelope),
Upsert(KeyEnvelope),
CdcV2,
}
Variants
None(KeyEnvelope)
Tuple Fields
0: KeyEnvelope
If present, include the key columns as an output column of the source with the given properties.
Debezium(DebeziumEnvelope)
Tuple Fields
Upsert(KeyEnvelope)
Tuple Fields
0: KeyEnvelope
CdcV2
Implementations
pub fn desc(
&self,
key_desc: Option<RelationDesc>,
value_desc: RelationDesc,
metadata_desc: RelationDesc
) -> Result<RelationDesc>
pub fn desc(
&self,
key_desc: Option<RelationDesc>,
value_desc: RelationDesc,
metadata_desc: RelationDesc
) -> Result<RelationDesc>
Computes the output relation of this envelope when applied on top of the decoded key and value relation 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 SourceEnvelope
impl Send for SourceEnvelope
impl Sync for SourceEnvelope
impl Unpin for SourceEnvelope
impl UnwindSafe for SourceEnvelope
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