With chemical plants as application example and engineers as our users in mind, we dig into safe API design with Rust. Therefore we build upon design patterns which are used for decades as catalog of solutions for recurring software architecture challenges. Beside the prominent builder and type-state pattern we will see how the visitor pattern allows us to define algorithms on an heterogeneous graph data structure such as used to represent a chemical process flowsheet.