pub fn ban_applies(
ban: &Ban,
admin: Option<&AdminRecord>,
now: DateTime<Utc>,
) -> boolExpand description
Determines whether a user is banned, given a ban record connected to a user,
the AdminRecord of that user (if it exists), and the current time.