Structures are the built in records in PLT. A stucture type is a record datatype with a number of fields. A structure is an instance of a given structure type. Structures are first class values that contain a value for each field of the the structure type.
;; Small usage example
> (define-structuser (namepassword))
> (defineguest (make-user"Anonymous""1234")
> (user?guest)
#t> (user-nameguest)
"Anonymous"> (set-user-name!guest"Guest")
> (user-nameguest)
"Guest"
If you want to use records portable across implementations, have a look at SRFI9.
The equivalent record declaration in SRFI-9 would be: