mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 13:56:30 +03:00
Make all MimeFactory fields private
This commit is contained in:
@@ -27,20 +27,20 @@ pub enum Loaded {
|
|||||||
/// Helper to construct mime messages.
|
/// Helper to construct mime messages.
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct MimeFactory<'a, 'b> {
|
pub struct MimeFactory<'a, 'b> {
|
||||||
pub from_addr: String,
|
from_addr: String,
|
||||||
pub from_displayname: String,
|
from_displayname: String,
|
||||||
pub selfstatus: String,
|
selfstatus: String,
|
||||||
pub recipients_names: Vec<String>,
|
recipients_names: Vec<String>,
|
||||||
pub recipients_addr: Vec<String>,
|
recipients_addr: Vec<String>,
|
||||||
pub timestamp: i64,
|
timestamp: i64,
|
||||||
pub loaded: Loaded,
|
loaded: Loaded,
|
||||||
pub msg: &'b Message,
|
msg: &'b Message,
|
||||||
pub chat: Option<Chat>,
|
chat: Option<Chat>,
|
||||||
pub increation: bool,
|
increation: bool,
|
||||||
pub in_reply_to: String,
|
in_reply_to: String,
|
||||||
pub references: String,
|
references: String,
|
||||||
pub req_mdn: bool,
|
req_mdn: bool,
|
||||||
pub context: &'a Context,
|
context: &'a Context,
|
||||||
last_added_location_id: u32,
|
last_added_location_id: u32,
|
||||||
attach_selfavatar: bool,
|
attach_selfavatar: bool,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user