pub const CONTRACT_VERSION: u32 = 1 /* 1u32 */;
Bump on any breaking change to Record. Additive changes (a new optional field) keep the major version and stay backward-compatible.
Record