pub struct Compose {
pub path: PathBuf,
pub recall_source: Option<PathBuf>,
pub security: Security,
pub attach: Option<PathBuf>,
pub hidden_head: Option<String>,
pub fcc: Option<String>,
}Expand description
A draft file going through editor → send/postpone/discard.
Fields§
§path: PathBuf§recall_source: Option<PathBuf>Postponed original to delete once the message is sent.
security: Security§attach: Option<PathBuf>Original message to attach as message/rfc822 (forward = “attach”, mutt’s mime_forward).
Header block withheld from the editor (edit_headers = false); draft_full puts it back for send/postpone/attachments.
fcc: Option<String>Fcc chosen in the compose menu (f): None = the default sent
copy, Some(“”) = keep no copy, Some(path) = that maildir.
Auto Trait Implementations§
impl Freeze for Compose
impl RefUnwindSafe for Compose
impl Send for Compose
impl Sync for Compose
impl Unpin for Compose
impl UnsafeUnpin for Compose
impl UnwindSafe for Compose
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