diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-25 20:22:02 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-28 19:18:45 +0000 |
| commit | 16255a79cfc471fecffd92e207fb5ea395adf738 (patch) | |
| tree | f08eed998a7928f1ec26d8672b8bb2681bfab1b7 | |
| parent | d91a855e6b7981e90f7cd9f6d2374dcb54cd04bb (diff) | |
| download | mullvadvpn-16255a79cfc471fecffd92e207fb5ea395adf738.tar.xz mullvadvpn-16255a79cfc471fecffd92e207fb5ea395adf738.zip | |
Derive `Clone` for `GeoIpLocation`
| -rw-r--r-- | mullvad-types/src/location.rs | 2 |
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>, |
