diff options
Diffstat (limited to 'src/models/payee_location_response_data.rs')
-rw-r--r-- | src/models/payee_location_response_data.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/payee_location_response_data.rs b/src/models/payee_location_response_data.rs index 0da3992..99101d4 100644 --- a/src/models/payee_location_response_data.rs +++ b/src/models/payee_location_response_data.rs @@ -10,6 +10,7 @@ + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct PayeeLocationResponseData { #[serde(rename = "payee_location")] @@ -19,7 +20,7 @@ pub struct PayeeLocationResponseData { impl PayeeLocationResponseData { pub fn new(payee_location: crate::models::PayeeLocation) -> PayeeLocationResponseData { PayeeLocationResponseData { - payee_location: payee_location, + payee_location, } } } |