pub async fn mark_read( pool: &PgPool, actor: &Actor, ids: Option<&[Uuid]>, ) -> AppResult<i64>
Marks the given notifications (all if None) of the actor as read and returns the remaining unread count.
None