chore: resolve warnings in v2 (#8373)

Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local>
This commit is contained in:
Aishwariyaa Anand
2025-06-22 16:58:23 +05:30
committed by GitHub
parent 0851c6ece5
commit d2d4f3d1d8
50 changed files with 218 additions and 320 deletions

View File

@ -2,16 +2,12 @@ use common_enums;
use common_utils::{
self,
errors::{CustomResult, ValidationError},
id_type, pii,
types::{keymanager, MinorUnit},
types::keymanager,
};
use diesel_models::tokenization;
use masking::{ExposeInterface, Secret};
use masking::Secret;
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate::{merchant_key_store::MerchantKeyStore, types};
#[cfg(all(feature = "v2", feature = "tokenization_v2"))]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct Tokenization {