MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / Person

Class Person

1d_json/rust/json/src/bin/person.rs:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#[derive(Debug, Deserialize, Serialize)]
4struct Person {
5 name: String,
6 age: usize,
7 job: Option<String>,
8 verified: bool,
9 parents: Vec<String>,
10}
11
12fn main() {
13 let bob = Person {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected