pub trait AlertConfig {
    type Model: Model;

    // Required method
    fn alert_config(model: &Self::Model) -> AlertSettings;
}
Expand description

Interface for creating AlertSettings

Required Associated Types§

source

type Model: Model

Model from which AlertSettings will be built

Required Methods§

source

fn alert_config(model: &Self::Model) -> AlertSettings

Configuration for alert component.

Implementors§