mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
refactor: derive Serialize and Deserialize to Country enum (#882)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
committed by
GitHub
parent
396c43d0c2
commit
456c16fb72
@ -546,7 +546,7 @@ pub enum CountryAlpha3 {
|
|||||||
ZWE,
|
ZWE,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
#[derive(Clone, Copy, Debug, PartialEq, Deserialize, Serialize)]
|
||||||
pub enum Country {
|
pub enum Country {
|
||||||
Afghanistan,
|
Afghanistan,
|
||||||
AlandIslands,
|
AlandIslands,
|
||||||
|
|||||||
Reference in New Issue
Block a user