pub struct ImapMessageAppendOptions {
pub flags: Vec<Flag<'static>>,
pub date: Option<DateTime>,
pub non_sync: bool,
}Expand description
Options shared by the buffered and streaming APPEND coroutines.
Fields§
§flags: Vec<Flag<'static>>Flags set on the appended message. Defaults to none.
date: Option<DateTime>Internal date set on the appended message. Defaults to the server reception time.
non_sync: boolSend a non-synchronising literal ({N+}) instead of waiting for the
server continuation.
Requires LITERAL+ / LITERAL-, and forfeits early rejection, so it is
best kept for small messages. Defaults to a synchronising {N}
literal.
Trait Implementations§
Source§impl Clone for ImapMessageAppendOptions
impl Clone for ImapMessageAppendOptions
Source§fn clone(&self) -> ImapMessageAppendOptions
fn clone(&self) -> ImapMessageAppendOptions
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 moreSource§impl Debug for ImapMessageAppendOptions
impl Debug for ImapMessageAppendOptions
Source§impl Default for ImapMessageAppendOptions
impl Default for ImapMessageAppendOptions
Source§fn default() -> ImapMessageAppendOptions
fn default() -> ImapMessageAppendOptions
Returns the “default value” for a type. Read more
impl Eq for ImapMessageAppendOptions
Source§impl PartialEq for ImapMessageAppendOptions
impl PartialEq for ImapMessageAppendOptions
impl StructuralPartialEq for ImapMessageAppendOptions
Auto Trait Implementations§
impl Freeze for ImapMessageAppendOptions
impl RefUnwindSafe for ImapMessageAppendOptions
impl Send for ImapMessageAppendOptions
impl Sync for ImapMessageAppendOptions
impl Unpin for ImapMessageAppendOptions
impl UnsafeUnpin for ImapMessageAppendOptions
impl UnwindSafe for ImapMessageAppendOptions
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