events: Implement Default for EmptyStateKey

This commit is contained in:
Jonas Platte 2023-03-10 11:51:57 +01:00 committed by Jonas Platte
parent 4049969d8c
commit 1af28486cc

View File

@ -4,7 +4,7 @@ use serde::{
};
/// A type that can be used as the `state_key` for event types where that field is always empty.
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord)]
#[allow(clippy::exhaustive_structs)]
pub struct EmptyStateKey;