On this page:
define-serializable-struct
define-serializable-struct/ versions

 (require mzlib/serialize)

The mzlib/serialize library provides the same bindings as scheme/serialize, except that define-serializable-struct and define-serializable-struct/versions are based on the syntax of define-struct from mzscheme.

(define-serializable-struct id-maybe-super (field-id ...) maybe-inspector-expr)
(define-serializable-struct/versions id-maybe-super vers-num (field-id ...)
                                     (other-version-clause ...)
                                     maybe-inspector-expr)
 
id-maybe-super = id
  | (id super-id)
     
maybe-inspector-expr = 
  | inspector-expr
     
other-version-clause = 
(other-vers make-proc-expr
            cycle-make-proc-expr)