Structs

InsertableLibrary struct, same as Library but without the id field.
Library struct which we can use to deserialize database queries into.

Enums

Enum represents a media type and can be used on a library or on a media. When returned in a http response, the fields are lowercase.