aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_server/src/net/structure.rs
blob: 15493400298a48326dba9c18cc6a43ccf71dba02 (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 {
    Self {
      prop_id: 0,
      value:   "".to_string(),
    }
  }
}