You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: service.rs
    path of file: ./repos/rust-crud-sql-api/src/users
    
    the code of the file until where you have to start completion: use chrono::Utc;
use sqlx::{postgres::PgPool, query_as_unchecked, query_unchecked};
use uuid;
use warp::Rejection;

use crate::error::{AuthError, DatabaseError};
use crate::users::models::{User, UserCreateRequest, UserUpdateRequest};

pub async fn get_user_by_id(_id: uuid::Uui
    
pub async fn get_users(connection: &PgPool) -> Result<Option<Vec<User>>, Rejection> {
    let result = query_as_unchecked!(
        User,
        r#"SELECT id, email, name, password, role, created_at, updated_at FROM users"#
    )
        .fetch_all(connection)
        .await
        .map_err(|_e| { anyhow::Error::new(_e) })
        .ok();
    Ok(result)
}