Skip to content

Commit 9006405

Browse files
committed
primitives - Flatten the Channel in market::Campaign
1 parent f2ae29d commit 9006405

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

primitives/src/market.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ impl Status {
4040
#[derive(Deserialize, Clone, Debug)]
4141
#[serde(rename_all = "camelCase")]
4242
pub struct Campaign {
43+
#[serde(flatten)]
4344
pub channel: Channel,
4445
pub status: Status,
4546
}

0 commit comments

Comments
 (0)