diff options
author | FxQnLr <[email protected]> | 2024-04-15 21:12:04 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-15 21:12:04 +0200 |
commit | ea4f36ea34a4e425ef23e2ae0d4ea210d4a8a145 (patch) | |
tree | d89f0da1841b984c10a6a24997a8733524b75f75 /src/storage.rs | |
parent | b615f6e34e084d520dcc301058b5926074188500 (diff) | |
parent | 7876dd605a8e4b595436035a87a5151be187c01d (diff) | |
download | webol-ea4f36ea34a4e425ef23e2ae0d4ea210d4a8a145.tar webol-ea4f36ea34a4e425ef23e2ae0d4ea210d4a8a145.tar.gz webol-ea4f36ea34a4e425ef23e2ae0d4ea210d4a8a145.zip |
Merge pull request #36 from FxQnLr/optional_ip
Optional ip and better docs
Diffstat (limited to 'src/storage.rs')
-rw-r--r-- | src/storage.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage.rs b/src/storage.rs index 0da245b..52c2e60 100644 --- a/src/storage.rs +++ b/src/storage.rs | |||
@@ -18,7 +18,7 @@ pub struct Device { | |||
18 | pub id: String, | 18 | pub id: String, |
19 | pub mac: MacAddress, | 19 | pub mac: MacAddress, |
20 | pub broadcast_addr: String, | 20 | pub broadcast_addr: String, |
21 | pub ip: IpNetwork, | 21 | pub ip: Option<IpNetwork>, |
22 | pub times: Option<Vec<i64>>, | 22 | pub times: Option<Vec<i64>>, |
23 | } | 23 | } |
24 | 24 | ||