Skip to content

Commit 5ec283b

Browse files
committed
primitives - ChannelSpec::price_dynamic_adjustment add default for serde
1 parent 43ef893 commit 5ec283b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

primitives/src/channel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ pub struct ChannelSpec {
153153
pub ad_units: Vec<AdUnit>,
154154
#[serde(default, skip_serializing_if = "Vec::is_empty")]
155155
pub price_multiplication_rules: Vec<PriceMultiplicationRules>,
156+
#[serde(default)]
156157
pub price_dynamic_adjustment: bool,
157158
}
158159

0 commit comments

Comments
 (0)