pub fn primary_key_from_snapshot(
snapshot: &Value,
primary_key_column: &str,
) -> ValueExpand description
Extract the primary-key field from a serialized model snapshot. Used to stamp audit events with a stable identifier even when the schema doesn’t surface the PK column verbatim in the response.