Skip to main content

Module json_metadata

Module json_metadata 

Source
Expand description

JSON metadata storage for bundled and application-owned SQLx models.

Use JsonMetadata for metadata fields which must retain arbitrary object keys on reads. Existing serde_json::Value fields remain supported but use serde_json’s ordinary decoder. AuthEntity calls SqlxValue::prepare on set metadata after application hooks and before the store write; manual models can override SqlxUserModel::prepare_json_metadata to choose their binding policy.

Structs§

JsonMetadata
JSON storage preserving every application object key.