19ec8bbdb9
The generated code for a struct like: struct Test<A, B, C> { a: X<A> #[serde(skip_serializing)] b: B #[serde(serialize_with="...")] c: C } Used to be: impl<A, B, C> Serialize for Test<A, B, C> where A: Serialize, B: Serialize, C: Serialize, { ... } Now it is: impl<A, B, C> Serialize for Test<A, B, C> where X<A>: Serialize, { ... } Both `skip_serializing` and `serialize_with` mean the type does not need to implement `Serialize`. |
||
---|---|---|
.. | ||
macros.rs | ||
test_annotations.rs | ||
test_bytes.rs | ||
test_de.rs | ||
test_macros.rs | ||
test_ser.rs | ||
test.rs | ||
test.rs.in | ||
token.rs |