headless_lms_models::users

Function get_by_id

Source
pub async fn get_by_id(conn: &mut PgConnection, id: Uuid) -> ModelResult<User>