From 564063561d9c6be62ebe4cd89a001d94823a8f0a Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Thu, 14 Jul 2022 14:55:24 +0200 Subject: [PATCH] Mark struct types::Deleted non-exhaustive --- src/types/deleted.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/deleted.rs b/src/types/deleted.rs index 6a604ed..8e08be0 100644 --- a/src/types/deleted.rs +++ b/src/types/deleted.rs @@ -41,6 +41,7 @@ use std::ops::RangeInclusive; /// # } /// ``` #[derive(Debug, Clone)] +#[non_exhaustive] pub struct Deleted { /// The list of messages that were expunged pub messages: DeletedMessages,