From df7d6b271fd0d1c749fdef08e32905d0593408a8 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Tue, 18 Oct 2022 21:37:23 -0400 Subject: [PATCH] fixup! add support for the imap quota extension (RFC 2087) --- src/types/quota.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/quota.rs b/src/types/quota.rs index 2434fd0..a6de6c2 100644 --- a/src/types/quota.rs +++ b/src/types/quota.rs @@ -10,7 +10,7 @@ use std::sync::mpsc; /// From [SETQUOTA Resource limit](https://datatracker.ietf.org/doc/html/rfc2087#section-4.1) /// /// Used by [`Session::set_quota`] -#[derive(Debug, Eq, PartialEq)] +#[derive(Clone, Debug, Eq, PartialEq)] #[non_exhaustive] pub struct QuotaResourceLimit<'a> { /// The resource type @@ -154,7 +154,7 @@ impl<'a> Quota<'a> { /// From [QUOTA Response](https://datatracker.ietf.org/doc/html/rfc2087#section-5.1) /// /// The quota resource sub-pieces in a [`Quota`] -#[derive(Debug, Eq, PartialEq)] +#[derive(Clone, Debug, Eq, PartialEq)] #[non_exhaustive] pub struct QuotaResource<'a> { /// The resource type