mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
chore: change serde value to strict type in payment intent domain and diesel model (#6393)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
use masking::{PeekInterface, Secret, Strategy};
|
||||
use serde::{Deserialize, Serialize, Serializer};
|
||||
|
||||
#[derive(Clone, Debug, Deserialize)]
|
||||
#[derive(Clone, PartialEq, Debug, Deserialize)]
|
||||
/// Represents a hashed string using blake3's hashing strategy.
|
||||
pub struct HashedString<T: Strategy<String>>(Secret<String, T>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user