Expand description
Database struct and its dependencies.
This module defines the Database
struct and its associated sub-structs used for representing
and manipulating database objects in the application. The primary struct, Database
, contains
various fields that describe the properties and metadata of a database, such as its ID, creation
time, last edited time, URL, and more. Additionally, it includes nested structs to represent
specific property types within the database, such as FormulaExpression
, MultiSelectObject
,
NumberFormat
, RelationObject
, RollupObject
, SelectObject
, and StatusObject
.
Each sub-struct is equipped with serialization and deserialization capabilities using Serde,
and provides methods to check if the struct is empty. The DatabaseProperty
struct is used to
define the properties of a database, with various fields representing different property types
and their corresponding data.