pub async fn get_recent_by_kind(
conn: &mut PgConnection,
kind: CreditRegistrationEventKind,
limit: i64,
) -> ModelResult<Vec<CreditRegistrationEvent>>pub async fn get_recent_by_kind(
conn: &mut PgConnection,
kind: CreditRegistrationEventKind,
limit: i64,
) -> ModelResult<Vec<CreditRegistrationEvent>>