From d381723deba922a2f28456ecd2d73240c09235db Mon Sep 17 00:00:00 2001 From: Todd Mortimer Date: Sat, 14 Nov 2020 16:52:03 -0500 Subject: [PATCH] Add non_exhaustive to Mailbox. --- src/types/mailbox.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/mailbox.rs b/src/types/mailbox.rs index 962e05d..1cadba6 100644 --- a/src/types/mailbox.rs +++ b/src/types/mailbox.rs @@ -4,6 +4,7 @@ use std::fmt; /// Meta-information about an IMAP mailbox, as returned by /// [`SELECT`](https://tools.ietf.org/html/rfc3501#section-6.3.1) and friends. #[derive(Clone, Debug, Eq, PartialEq, Hash)] +#[non_exhaustive] pub struct Mailbox { /// Defined flags in the mailbox. See the description of the [FLAGS /// response](https://tools.ietf.org/html/rfc3501#section-7.2.6) for more detail.