events: Implement Default for EmptyStateKey
This commit is contained in:
parent
4049969d8c
commit
1af28486cc
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user