Continued working on Constructor. Currently, up to step 15 is compiling successfully. A draft up to step 24 is written.
Things we learned:
There are different types of references in Rust. one of them is &, but you can also have “user-defined custom smart pointers” or wrappers with particular behavior for references, like Ref and RefCell. A helpful explanation is here and here.
You can customize the type name in a use statement. For example, instead of writing use hyper and writing hyper::header::Headers throughout the code, you can use use hyper::header::Headers as HyperHeaders and use HyperHeaders in the code body.
Air conditioning is wonderful!
TODO:
Response:
If Headers is accepted, start working on Response.