Skip to content

Commit d7e33e3

Browse files
committed
Added form tags for DeserializationFormat.
1 parent ff22370 commit d7e33e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

server/swimos_connector_kafka/src/config.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ pub enum DeserializationFormat {
124124
#[default]
125125
Bytes,
126126
String,
127-
Int32(Endianness),
128-
Int64(Endianness),
129-
UInt32(Endianness),
130-
UInt64(Endianness),
131-
Float32(Endianness),
132-
Float64(Endianness),
127+
Int32(#[form(header_body)] Endianness),
128+
Int64(#[form(header_body)] Endianness),
129+
UInt32(#[form(header_body)] Endianness),
130+
UInt64(#[form(header_body)] Endianness),
131+
Float32(#[form(header_body)] Endianness),
132+
Float64(#[form(header_body)]Endianness),
133133
Uuid,
134134
Recon,
135135
#[cfg(feature = "json")]

0 commit comments

Comments
 (0)