MCPcopy Create free account
hub / github.com/Wulf/tsync / Book

Class Book

test/struct/rust.rs:6–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4/// Doc comments are preserved too!
5#[tsync]
6struct 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)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected