Custom TypesCustom TypesRust custom data types are formed mainly through the two keywords: struct: define a structureenum: define an enumeration Constants can also be created via the const and static keywords.