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: nft_storage.rs
    path of file: ./repos/CYFS/src/meta/cyfs-meta-spv/src
    
    the code of the file until where you have to start completion: use std::str::FromStr;
use serde::{Deserialize, Serialize};
use sqlx::Row;
use cyfs_base::*;
use cyfs_base_meta::*;
use crate::{DBExecutor, get_meta_err_code, MetaConnecti
    
    async fn nft_get_apply_buy_list(&self, nft_id: &ObjectId) -> BuckyResult<Vec<(ObjectId, u64, CoinTokenId, u64, u64)>> {
        let mut conn = self.get_conn().await?;

        let sql = "select * from nft_apply_buy where nft_id = ?1";
        let rows = conn.query_all(sqlx::query(sql).bind(nft_id.to_string())).await?;
        let mut list = Vec::new();
        for row in rows {
            list.push((
                ObjectId::from_str(row.get("buyer_id"))?,
                row.get::<i64, _>("price") as u64,
                CoinTokenId::clone_from_slice(row.get("coin_id"))?,
                row.get::<i64, _>("block_number") as u64,
                row.get::<i64, _>("block_time") as u64,
            ));
        }
        Ok(list)
    }