pub struct ReplyContent {
pub acting_sender_id: i64,
pub subject: String,
pub content: String,
pub to: Vec<String>,
pub cc: Vec<String>,
pub bcc: Vec<String>,
}Expand description
A reply, as the reply prefill (Entries::new_reply) hands its parts over.
Fields§
§acting_sender_id: i64The identity the reply goes out as. HEY resolves a reply’s sender from the thread — on a shared or alternate address that is not the account default — and hands it back as the prefill’s sender; pass that id. Zero falls back to the client’s default sender, which on such a thread is the wrong identity.
subject: StringHEY derives no subject for a reply, so pass the prefill’s “Re: …” — a draft saved without one reads “No subject”. Empty leaves it off the wire.
content: StringThe reply body alone: HEY appends the quoted original at delivery, so the prefill’s quoted content must not be echoed back.
to: Vec<String>The addresses the reply goes to.
cc: Vec<String>The addresses copied on it.
bcc: Vec<String>The addresses copied on it without the others seeing.
Trait Implementations§
Source§impl Clone for ReplyContent
impl Clone for ReplyContent
Source§fn clone(&self) -> ReplyContent
fn clone(&self) -> ReplyContent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more