aboutsummaryrefslogtreecommitdiff
path: root/src/server/net/structure.rs
blob: 0128c0eabae27b6570a8a42526471c9ba813799d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyleft 2021-2021 Whirlsplash
// SPDX-License-Identifier: GPL-3.0-only

pub struct NetworkProperty {
  pub prop_id: i32,
  pub value:   String,
}
impl NetworkProperty {
  pub fn new() -> Self { NetworkProperty::default() }
}
impl Default for NetworkProperty {
  fn default() -> Self {
    NetworkProperty {
      prop_id: 0,
      value:   "".to_string(),
    }
  }
}