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:
Hrithikesh
2024-11-08 12:48:01 +05:30
committed by GitHub
parent 01951de7aa
commit a5ac69d1a7
46 changed files with 1030 additions and 263 deletions

View File

@ -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>);