serde-rs / serde-rs.github.io

https://serde.rs
Creative Commons Attribution Share Alike 4.0 International
22 stars 96 forks source link

Document #[serde(tag)] on struct structs #103

Closed jplatte closed 1 year ago

jplatte commented 4 years ago

fixes https://github.com/serde-rs/serde/issues/1684

jplatte commented 4 years ago

ping @dtolnay

zeenix commented 4 years ago

@dtolnay ping or in general. I'd suggest just merging it cause it's trivial and having this docs is better than not having it so we don't need to be picky.

magurotuna commented 3 years ago

This is exactly what I was looking for. If this had been documented it would have saved my time a lot. @dtolnay I'd be more than happy if this PR got merged and published. Do you see any issues in this PR that prevent you from merging it?

jplatte commented 2 years ago

Hey @dtolnay, could you please take a look?