summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-25 20:22:02 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-28 19:18:45 +0000
commit16255a79cfc471fecffd92e207fb5ea395adf738 (patch)
treef08eed998a7928f1ec26d8672b8bb2681bfab1b7
parentd91a855e6b7981e90f7cd9f6d2374dcb54cd04bb (diff)
downloadmullvadvpn-16255a79cfc471fecffd92e207fb5ea395adf738.tar.xz
mullvadvpn-16255a79cfc471fecffd92e207fb5ea395adf738.zip
Derive `Clone` for `GeoIpLocation`
-rw-r--r--mullvad-types/src/location.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-types/src/location.rs b/mullvad-types/src/location.rs
index 629f15d37a..fbb2c1a7ef 100644
--- a/mullvad-types/src/location.rs
+++ b/mullvad-types/src/location.rs
@@ -63,7 +63,7 @@ pub struct AmIMullvad {
}
/// GeoIP information exposed from the daemon to frontends.
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct GeoIpLocation {
pub ipv4: Option<Ipv4Addr>,
pub ipv6: Option<Ipv6Addr>,