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: auth.rs
    path of file: ./repos/TheReader/crates/backend/src/model
    
    the code of the file until where you have to start completion: use chrono::{NaiveDateTime, Utc};
use common::MemberId;
use sqlx::{FromRow, SqliteConnection};

use crate::{http::gen_sample_alphanumeric, Result, IN_MEM_DB};

/// Used for Pending Authentications and Completed Authentications when member_id is defined.
///
/// It is referenced whenever
#[derive(FromRow)]
pub struct AuthModel {
    pub oauth_tok
    
    pub async fn insert(&self, db: &mut SqliteConnection) -> Result<u64> {
        let res = sqlx::query(
            "INSERT INTO auth (oauth_token, oauth_token_secret, member_id, created_at, updated_at) VALUES ($1, $2, $3, $4, $5)"
        )
        .bind(&self.oauth_token)
        .bind(&self.oauth_token_secret)
        .bind(self.member_id)
        .bind(self.created_at)
        .bind(self.updated_at)
        .execute(db).await?;

        Ok(res.rows_affected())
    }