Struct imap::types::QuotaRootResponse
source · pub struct QuotaRootResponse { /* private fields */ }
Expand description
The self-referencing struct.
Implementations§
source§impl QuotaRootResponse
impl QuotaRootResponse
sourcepub fn parse(
owned: Vec<u8>,
unsolicited: &mut Sender<UnsolicitedResponse>
) -> Result<Self, Error>
pub fn parse(
owned: Vec<u8>,
unsolicited: &mut Sender<UnsolicitedResponse>
) -> Result<Self, Error>
Parse the [QuotaRoot
] response from a response buffer.
sourcepub fn mailbox_name(&self) -> &str
pub fn mailbox_name(&self) -> &str
The mailbox name
sourcepub fn quota_root_names(&self) -> impl Iterator<Item = &str>
pub fn quota_root_names(&self) -> impl Iterator<Item = &str>
The list of quota roots for the mailbox name (could be empty)