| 4 | /// Doc comments are preserved too! |
| 5 | #[tsync] |
| 6 | struct Book { |
| 7 | /// Name of the book. |
| 8 | name: String, |
| 9 | /// Chapters of the book. |
| 10 | chapters: Vec<Chapter>, |
| 11 | /// Reviews of the book |
| 12 | /// by users. |
| 13 | user_reviews: Option<Vec<String>>, |
| 14 | #[serde(flatten)] |
| 15 | book_type: BookType, |
| 16 | } |
| 17 | |
| 18 | #[tsync] |
| 19 | #[derive(Serialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected