Skip to main content

handle

Function handle 

Source
pub fn handle(
    msg: &Value,
    db_path: &str,
    days: i64,
    tz_secs: i64,
    colour: bool,
    plan: &str,
    period_start: Option<i64>,
) -> Option<Value>
Expand description

One message in, one response out; None for notifications (no id).