pub struct ImapSessionOpenData {
pub capability: Vec<Capability<'static>>,
pub pre_authenticated: bool,
}Expand description
An opened IMAP session.
Fields§
§capability: Vec<Capability<'static>>The capabilities advertised once the session reached its final state, after authentication when one took place.
pre_authenticated: boolWhether the greeting was PREAUTH: the session opened already
authenticated, so the SASL step was skipped.
Trait Implementations§
Source§impl Clone for ImapSessionOpenData
impl Clone for ImapSessionOpenData
Source§fn clone(&self) -> ImapSessionOpenData
fn clone(&self) -> ImapSessionOpenData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImapSessionOpenData
impl RefUnwindSafe for ImapSessionOpenData
impl Send for ImapSessionOpenData
impl Sync for ImapSessionOpenData
impl Unpin for ImapSessionOpenData
impl UnsafeUnpin for ImapSessionOpenData
impl UnwindSafe for ImapSessionOpenData
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