aboutsummaryrefslogtreecommitdiff
path: root/src/server/net/structure.rs
blob: 1fb1051f34bff1da3b04abac2a7f959531c34655 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// 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(),
    }
  }
}