mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(events): add hashed customer_email and feature_metadata (#5220)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -14,6 +14,7 @@ use error_stack::ResultExt;
|
||||
use masking::{ExposeInterface, Secret, Strategy, WithType};
|
||||
#[cfg(feature = "logs")]
|
||||
use router_env::logger;
|
||||
use serde::Deserialize;
|
||||
|
||||
use crate::{
|
||||
crypto::Encryptable,
|
||||
@ -205,7 +206,7 @@ where
|
||||
}
|
||||
|
||||
/// Strategy for masking Email
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Copy, Clone, Deserialize)]
|
||||
pub enum EmailStrategy {}
|
||||
|
||||
impl<T> Strategy<T> for EmailStrategy
|
||||
|
||||
Reference in New Issue
Block a user