refactor(payment_methods): added clone derivation for PaymentMethodId (#1568)

Co-authored-by: Sarthak Soni <sarthak.soni@juspay.in>
Co-authored-by: Sampras Lopes <lsampras@protonmail.com>
This commit is contained in:
Sarthak Soni
2023-07-03 15:07:33 +05:30
committed by GitHub
parent 44b8da430c
commit 6739b59bc8
2 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ pub struct CustomerResponse {
pub metadata: Option<pii::SecretSerdeValue>,
}
#[derive(Default, Debug, Deserialize, Serialize)]
#[derive(Default, Clone, Debug, Deserialize, Serialize)]
pub struct CustomerId {
pub customer_id: String,
}