Datatypes, in both executable code and specifications, are defined via Rust’s struct and enum.
struct
enum