Signed-off-by: Stefan Hanreich <[email protected]>
---
proxmox-ve-config/src/firewall/types/group.rs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/proxmox-ve-config/src/firewall/types/group.rs
b/proxmox-ve-config/src/firewall/types/group.rs
index 7455268..b9b71b6 100644
--- a/proxmox-ve-config/src/firewall/types/group.rs
+++ b/proxmox-ve-config/src/firewall/types/group.rs
@@ -9,6 +9,12 @@ pub struct Group {
comment: Option<String>,
}
+impl Default for Group {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
impl Group {
pub const fn new() -> Self {
Self {
--
2.39.5
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel