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

Method build

2a_builder_pattern/rust/builder/src/main.rs:39–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 }
38
39 fn build(self) -> User {
40 let Self {
41 id,
42 email,
43 first_name,
44 last_name,
45 } = self;
46 User {
47 id,
48 email,
49 first_name,
50 last_name,
51 }
52 }
53}
54
55impl User {

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected