diff options
| -rw-r--r-- | crates/whirl_server/src/net/network_property.rs | 1 | ||||
| -rw-r--r-- | crates/whirl_server/src/net/property_list.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/crates/whirl_server/src/net/network_property.rs b/crates/whirl_server/src/net/network_property.rs index 55800a0..c8d9046 100644 --- a/crates/whirl_server/src/net/network_property.rs +++ b/crates/whirl_server/src/net/network_property.rs @@ -1,6 +1,7 @@ // 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, diff --git a/crates/whirl_server/src/net/property_list.rs b/crates/whirl_server/src/net/property_list.rs index 2c52132..a1c4b34 100644 --- a/crates/whirl_server/src/net/property_list.rs +++ b/crates/whirl_server/src/net/property_list.rs @@ -12,6 +12,7 @@ use crate::{ }, }; +#[derive(Clone)] pub struct PropertyList(pub Vec<crate::net::network_property::NetworkProperty>); impl PropertyList { /// Convert a `PropertyList` to a ready-to-be sent command. |