events: Silence clippy lint

This commit is contained in:
Jonas Platte 2021-08-12 21:36:20 +02:00
parent 44a998f70d
commit e9cb896bf7
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -442,6 +442,7 @@ pub struct EventTypeDeHelper<'a> {
/// Helper struct to determine if an event has been redacted.
#[doc(hidden)]
#[derive(Deserialize)]
#[allow(clippy::exhaustive_structs)]
pub struct RedactionDeHelper {
/// Used to check whether redacted_because exists.
pub unsigned: Option<UnsignedDeHelper>,