mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(events): add APIs to list webhook events and webhook delivery attempts (#4131)
This commit is contained in:
@ -147,14 +147,18 @@ where
|
||||
|
||||
/// Strategy for Encryption
|
||||
#[derive(Debug)]
|
||||
pub enum EncryptionStratergy {}
|
||||
pub enum EncryptionStrategy {}
|
||||
|
||||
impl<T> Strategy<T> for EncryptionStratergy
|
||||
impl<T> Strategy<T> for EncryptionStrategy
|
||||
where
|
||||
T: AsRef<[u8]>,
|
||||
{
|
||||
fn fmt(value: &T, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||
write!(fmt, "*** Encrypted {} of bytes ***", value.as_ref().len())
|
||||
write!(
|
||||
fmt,
|
||||
"*** Encrypted data of length {} bytes ***",
|
||||
value.as_ref().len()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user