Book struct with camelCase field names.
| 20 | #[serde(rename_all = "camelCase")] |
| 21 | /// Book struct with camelCase field names. |
| 22 | struct BookCamel { |
| 23 | /// Name of the book. |
| 24 | name: String, |
| 25 | /// Chapters of the book. |
| 26 | chapters: Vec<Chapter>, |
| 27 | /// Reviews of the book |
| 28 | /// by users. |
| 29 | user_reviews: Option<Vec<String>>, |
| 30 | } |
| 31 | |
| 32 | /// Multiple line comments |
| 33 | /// are formatted on |
nothing calls this directly
no outgoing calls
no test coverage detected