Uses of Class
org.openapitools.codegen.languages.AbstractRustCodegen.CasingType
-
Packages that use AbstractRustCodegen.CasingType Package Description org.openapitools.codegen.languages -
-
Uses of AbstractRustCodegen.CasingType in org.openapitools.codegen.languages
Methods in org.openapitools.codegen.languages that return AbstractRustCodegen.CasingType Modifier and Type Method Description static AbstractRustCodegen.CasingTypeAbstractRustCodegen.CasingType. valueOf(String name)Returns the enum constant of this type with the specified name.static AbstractRustCodegen.CasingType[]AbstractRustCodegen.CasingType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.openapitools.codegen.languages with parameters of type AbstractRustCodegen.CasingType Modifier and Type Method Description StringAbstractRustCodegen. sanitizeIdentifier(String name, AbstractRustCodegen.CasingType casingType, String escapePrefix, String type, boolean allowRawIdentifiers)General purpose sanitizing function for Rust identifiers (fields, variables, structs, parameters, etc.).
Rules for Rust are fairly simple: Characters must belong to [A-Za-z0-9_] Cannot use reserved words (but can sometimes prefix with "r#") Cannot begin with a number
-