Skip to main content

enabled_from_record

Function enabled_from_record 

Source
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.