Code from working through Zero to Production in Rust