aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_server/src/net/network_property.rs
blob: c8d9046579de89f80c0f4c864ae13002e0caff76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only

#[derive(Clone)]
pub struct NetworkProperty {
  pub prop_id: i32,
  pub value:   String,
}
impl NetworkProperty {
  pub fn _new() -> Self { Self::default() }
}
impl Default for NetworkProperty {
  fn default() -> Self {
    Self {
      prop_id: 0,
      value:   "".to_string(),
    }
  }
}