fixup! add support for the imap quota extension (RFC 2087)

This commit is contained in:
Edward Rudd 2022-10-18 21:37:23 -04:00
parent 733aba99fe
commit df7d6b271f

View file

@ -10,7 +10,7 @@ use std::sync::mpsc;
/// From [SETQUOTA Resource limit](https://datatracker.ietf.org/doc/html/rfc2087#section-4.1) /// From [SETQUOTA Resource limit](https://datatracker.ietf.org/doc/html/rfc2087#section-4.1)
/// ///
/// Used by [`Session::set_quota`] /// Used by [`Session::set_quota`]
#[derive(Debug, Eq, PartialEq)] #[derive(Clone, Debug, Eq, PartialEq)]
#[non_exhaustive] #[non_exhaustive]
pub struct QuotaResourceLimit<'a> { pub struct QuotaResourceLimit<'a> {
/// The resource type /// The resource type
@ -154,7 +154,7 @@ impl<'a> Quota<'a> {
/// From [QUOTA Response](https://datatracker.ietf.org/doc/html/rfc2087#section-5.1) /// From [QUOTA Response](https://datatracker.ietf.org/doc/html/rfc2087#section-5.1)
/// ///
/// The quota resource sub-pieces in a [`Quota`] /// The quota resource sub-pieces in a [`Quota`]
#[derive(Debug, Eq, PartialEq)] #[derive(Clone, Debug, Eq, PartialEq)]
#[non_exhaustive] #[non_exhaustive]
pub struct QuotaResource<'a> { pub struct QuotaResource<'a> {
/// The resource type /// The resource type