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

Class BookCamel

test/struct/rust.rs:22–30  ·  view source on GitHub ↗

Book struct with camelCase field names.

Source from the content-addressed store, hash-verified

20#[serde(rename_all = "camelCase")]
21/// Book struct with camelCase field names.
22struct 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected