pub async fn is_enabled(
pool: &Pool,
user_id: i64,
kind: &str,
) -> Result<bool, ExecError>Expand description
Whether user_id wants to receive notifications of kind. A
missing row is treated as true — opt-out semantics.
§Errors
Driver / query failures.