pub async fn count_sent_since(
conn: &mut PgConnection,
sisu_person_id: &str,
since: DateTime<Utc>,
) -> ModelResult<i64>Expand description
Backs the rate cap of at most one mail per Sisu person per window, across all courses.
pub async fn count_sent_since(
conn: &mut PgConnection,
sisu_person_id: &str,
since: DateTime<Utc>,
) -> ModelResult<i64>Backs the rate cap of at most one mail per Sisu person per window, across all courses.