diff --git a/rnex-protocols/mm-protos/src/matchmake.rs b/rnex-protocols/mm-protos/src/matchmake.rs index 44cd1fa..36609a0 100644 --- a/rnex-protocols/mm-protos/src/matchmake.rs +++ b/rnex-protocols/mm-protos/src/matchmake.rs @@ -78,6 +78,7 @@ cfg_if! { } } +#[derive(Debug)] pub struct MatchmakeSessionSearchCriteria { pub attribs: Vec>, pub game_mode: String, @@ -399,50 +400,6 @@ pub struct MatchmakeSessionSearchCriteria { } } #[automatically_derived] - impl ::core::fmt::Debug for MatchmakeSessionSearchCriteria { - #[inline] - fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { - let names: &'static _ = &[ - "attribs", - "game_mode", - "minimum_participants", - "maximum_participants", - "matchmake_system_type", - "vacant_only", - "exclude_locked", - "exclude_non_host_pid", - "selection_method", - "vacant_participants", - "matchmake_param", - "exclude_user_password_set", - "exclude_system_password_set", - "refer_gid", - ]; - let values: &[&dyn ::core::fmt::Debug] = &[ - &self.attribs, - &self.game_mode, - &self.minimum_participants, - &self.maximum_participants, - &self.matchmake_system_type, - &self.vacant_only, - &self.exclude_locked, - &self.exclude_non_host_pid, - &self.selection_method, - &self.vacant_participants, - &self.matchmake_param, - &self.exclude_user_password_set, - &self.exclude_system_password_set, - &&self.refer_gid, - ]; - ::core::fmt::Formatter::debug_struct_fields_finish( - f, - "MatchmakeSessionSearchCriteria", - names, - values, - ) - } - } - #[automatically_derived] impl ::core::clone::Clone for MatchmakeSessionSearchCriteria { #[inline] fn clone(&self) -> MatchmakeSessionSearchCriteria {