diff -r 6b9655be1e7f -r 863059f61793 rust/hedgewars-server/src/core/types.rs --- a/rust/hedgewars-server/src/core/types.rs Tue Feb 11 01:33:31 2020 +0100 +++ b/rust/hedgewars-server/src/core/types.rs Sat Mar 07 01:04:37 2020 +0300 @@ -28,7 +28,7 @@ DrawnMap(String), } -#[derive(PartialEq, Eq, Clone, Debug)] +#[derive(PartialEq, Eq, Clone, Debug, Default)] pub struct TeamInfo { pub owner: String, pub name: String, @@ -42,7 +42,7 @@ pub hedgehogs: [HedgehogInfo; MAX_HEDGEHOGS_PER_TEAM as usize], } -#[derive(PartialEq, Eq, Clone, Debug)] +#[derive(PartialEq, Eq, Clone, Debug, Default)] pub struct HedgehogInfo { pub name: String, pub hat: String,