A basic struct is declared as follows:

https://codeeval.dev/gist/d504481a04da95d927b0712ccb1fb480

Each value is called a field.

Fields are usually written one per line, with the field’s name preceeding its type.

Consecutive fields of the same type may be combined, as FirstName and LastName in the above example.

Field names that start with upper case (FirstName, Email) are public i.e. accesible by all code.

Field names that start with lower case (userID) are private and only accessible by code in the same package.