mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 08:37:15 +00:00
This commit is contained in:
1 parent
49491823c3
commit
f0208c759b
4 files changed
+8
-26
No files matched your search
@@ -956,13 +956,18 @@ impl LocalConfig {
|
||||
|
||||
#[derive(Debug, Default, Serialize, Deserialize, Clone)]
|
||||
pub struct DiscoveryPeer {
|
||||
#[serde(default)]
|
||||
pub id: String,
|
||||
#[serde(with = "serde_with::rust::map_as_tuple_list")]
|
||||
pub ip_mac: HashMap<String, String>,
|
||||
#[serde(default)]
|
||||
pub username: String,
|
||||
#[serde(default)]
|
||||
pub hostname: String,
|
||||
#[serde(default)]
|
||||
pub platform: String,
|
||||
#[serde(default)]
|
||||
pub online: bool,
|
||||
#[serde(default)]
|
||||
pub ip_mac: HashMap<String, String>,
|
||||
}
|
||||
|
||||
impl DiscoveryPeer {
|
||||
|
||||
Reference in new issue
Block a user