File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -158,14 +158,14 @@ pub struct PriceMultiplicationRules {
158
158
multiplier : Option < f64 > ,
159
159
#[ serde( default , skip_serializing_if = "Option::is_none" ) ]
160
160
amount : Option < BigNum > ,
161
- #[ serde( default , skip_serializing_if = "Vec::is_empty " ) ]
162
- ev_type : Vec < Event > ,
163
- #[ serde( default , skip_serializing_if = "Vec::is_empty " ) ]
164
- publisher : Vec < ValidatorId > ,
165
- #[ serde( default , skip_serializing_if = "Vec::is_empty " ) ]
166
- os_type : Vec < String > ,
167
- #[ serde( default , skip_serializing_if = "Vec::is_empty " ) ]
168
- country : Vec < String > ,
161
+ #[ serde( default , skip_serializing_if = "Option::is_none " ) ]
162
+ ev_type : Option < Vec < Event > > ,
163
+ #[ serde( default , skip_serializing_if = "Option::is_none " ) ]
164
+ publisher : Option < Vec < ValidatorId > > ,
165
+ #[ serde( default , skip_serializing_if = "Option::is_none " ) ]
166
+ os_type : Option < Vec < String > > ,
167
+ #[ serde( default , skip_serializing_if = "Option::is_none " ) ]
168
+ country : Option < Vec < String > > ,
169
169
}
170
170
171
171
#[ derive( Serialize , Deserialize , Debug , Clone ) ]
You can’t perform that action at this time.
0 commit comments