Skip to main content

ComposeBase

Struct ComposeBase 

Source
pub struct ComposeBase {
Show 14 fields pub path: PathBuf, pub reply_to: String, pub from_hdr: String, pub has_reply_to: bool, pub orig_to: String, pub orig_cc: String, pub list_post: Option<String>, pub followup_to: String, pub from_addr: String, pub from_display: String, pub subject: String, pub date: i64, pub msg_id: Option<String>, pub references: Vec<String>,
}
Expand description

Snapshot of the message being replied to / forwarded, taken when the compose flow starts.

Fields§

§path: PathBuf§reply_to: String§from_hdr: String

The From header as written, the reply target when the Reply-To question is answered no.

§has_reply_to: bool

The message has a Reply-To differing from From, worth the mutt $reply_to (ask-yes) question.

§orig_to: String§orig_cc: String§list_post: Option<String>

List-Post’s posting address, when the list published one.

§followup_to: String

Mail-Followup-To as the sender wrote it, honored by a group reply (mutt does the same).

§from_addr: String

Bare author address, for the forward subject’s %a.

§from_display: String§subject: String§date: i64§msg_id: Option<String>§references: Vec<String>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.