pub struct JmapMailboxList { /* private fields */ }Available on crate feature
jmap only.Expand description
I/O-free coroutine listing every JMAP mailbox in the primary mail account.
Implementations§
Source§impl JmapMailboxList
impl JmapMailboxList
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
with_counts: bool,
) -> Result<Self, JmapMailboxListError>
pub fn new( session: &JmapSession, http_auth: &SecretString, with_counts: bool, ) -> Result<Self, JmapMailboxListError>
Requests id + name; adds totalEmails + unreadEmails when
with_counts is set.
Trait Implementations§
Source§impl JmapCoroutine for JmapMailboxList
impl JmapCoroutine for JmapMailboxList
Auto Trait Implementations§
impl Freeze for JmapMailboxList
impl RefUnwindSafe for JmapMailboxList
impl Send for JmapMailboxList
impl Sync for JmapMailboxList
impl Unpin for JmapMailboxList
impl UnsafeUnpin for JmapMailboxList
impl UnwindSafe for JmapMailboxList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.