Add non_exhaustive to Mailbox.

This commit is contained in:
Todd Mortimer 2020-11-14 16:52:03 -05:00
parent 22dae40ab5
commit d381723deb

View file

@ -4,6 +4,7 @@ use std::fmt;
/// Meta-information about an IMAP mailbox, as returned by /// Meta-information about an IMAP mailbox, as returned by
/// [`SELECT`](https://tools.ietf.org/html/rfc3501#section-6.3.1) and friends. /// [`SELECT`](https://tools.ietf.org/html/rfc3501#section-6.3.1) and friends.
#[derive(Clone, Debug, Eq, PartialEq, Hash)] #[derive(Clone, Debug, Eq, PartialEq, Hash)]
#[non_exhaustive]
pub struct Mailbox { pub struct Mailbox {
/// Defined flags in the mailbox. See the description of the [FLAGS /// 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. /// response](https://tools.ietf.org/html/rfc3501#section-7.2.6) for more detail.