pub async fn update_deviation( pool: &PgPool, actor: &Actor, id: Uuid, input: DeviationInput, ) -> AppResult<Deviation>
Replaces every field of a deviation of an as-built revision checked out by the actor.