mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor: Add secret to metadata (#706)
This commit is contained in:
@ -6,6 +6,9 @@ use masking::{Strategy, WithType};
|
||||
|
||||
use crate::validation::validate_email;
|
||||
|
||||
/// Type alias for serde_json value which has Secret Information
|
||||
pub type SecretSerdeValue = masking::Secret<serde_json::Value>;
|
||||
|
||||
/// Card number
|
||||
#[derive(Debug)]
|
||||
pub struct CardNumber;
|
||||
|
||||
Reference in New Issue
Block a user