diff options
Diffstat (limited to 'src/models/payee_location_response_data.rs')
-rw-r--r-- | src/models/payee_location_response_data.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/payee_location_response_data.rs b/src/models/payee_location_response_data.rs index 869c4ea..0da3992 100644 --- a/src/models/payee_location_response_data.rs +++ b/src/models/payee_location_response_data.rs @@ -9,18 +9,15 @@ */ -#[allow(unused_imports)] -use serde_json::Value; - -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct PayeeLocationResponseData { #[serde(rename = "payee_location")] - pub payee_location: ::models::PayeeLocation, + pub payee_location: crate::models::PayeeLocation, } impl PayeeLocationResponseData { - pub fn new(payee_location: ::models::PayeeLocation) -> PayeeLocationResponseData { + pub fn new(payee_location: crate::models::PayeeLocation) -> PayeeLocationResponseData { PayeeLocationResponseData { payee_location: payee_location, } |