pub fn enabled_from_record(
record: &StoredNotification,
group: &StoredGroup,
consent: ConsentState,
) -> Result<bool, StorageError>Expand description
Whether notifications for group are on: the record is enabled and its
stored configuration’s local rules allow the group.