use new locking api

This commit is contained in:
Aiden McClelland
2021-09-23 18:02:18 -06:00
committed by Aiden McClelland
parent 51417383d2
commit 660205c3db
13 changed files with 223 additions and 258 deletions

View File

@@ -255,6 +255,8 @@ impl HasModel for InterfaceAddressMap {
#[derive(Debug, Deserialize, Serialize, HasModel)]
#[serde(rename_all = "kebab-case")]
pub struct InterfaceAddresses {
#[model]
pub tor_address: Option<String>,
#[model]
pub lan_address: Option<String>,
}