pub struct AnalyzeEmails {Show 19 fields
pub debug: bool,
pub header: HashMap<String, String>,
pub mime_version: String,
pub md5: String,
pub size: usize,
pub timestamp: i64,
pub datetime: String,
pub subject: String,
pub from: HashMap<String, String>,
pub to: HashMap<String, String>,
pub cc: HashMap<String, String>,
pub replyto: HashMap<String, String>,
pub content_type: String,
pub content_transfer_encoding: ContentTransferEncoding,
pub sender: String,
pub body_text: String,
pub body_html: String,
pub files: JsonValue,
pub charset: String,
/* private fields */
}Expand description
解析邮件
Fields§
§debug: bool§header: HashMap<String, String>§mime_version: String§md5: String§size: usize§timestamp: i64时间戳
datetime: String本地时间
subject: String主题
from: HashMap<String, String>发件人
to: HashMap<String, String>收件人
cc: HashMap<String, String>抄送人
replyto: HashMap<String, String>用于指定收件人回复邮件时应该使用的电子邮件地址
content_type: String内容类型
content_transfer_encoding: ContentTransferEncoding编码规则
sender: String实际发件人
body_text: String§body_html: String§files: JsonValue§charset: StringImplementations§
Trait Implementations§
Source§impl Debug for AnalyzeEmails
impl Debug for AnalyzeEmails
Auto Trait Implementations§
impl Freeze for AnalyzeEmails
impl RefUnwindSafe for AnalyzeEmails
impl Send for AnalyzeEmails
impl Sync for AnalyzeEmails
impl Unpin for AnalyzeEmails
impl UnwindSafe for AnalyzeEmails
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