#[derive(Serialize)] { // Attributes available to this derive: #[serde] }
derive
Derive macro available if serde is built with features = ["derive"].
features = ["derive"]