pub struct MessageFile {Show 33 fields
pub schema_name: String,
pub schema_version: u64,
pub message_id: String,
pub rfc822_message_id: Option<String>,
pub in_reply_to: Option<String>,
pub references: Vec<String>,
pub remote: Option<RemoteState>,
pub direction: Option<String>,
pub subject: Option<String>,
pub from: Option<String>,
pub to: Vec<String>,
pub cc: Vec<String>,
pub bcc: Vec<String>,
pub reply_to: Vec<String>,
pub sender: Option<String>,
pub delivered_to: Vec<String>,
pub x_original_to: Vec<String>,
pub envelope_to: Vec<String>,
pub list_id: Option<String>,
pub mailing_list_headers: Vec<String>,
pub authentication: MessageAuthentication,
pub received_rfc3339: Option<String>,
pub sent_rfc3339: Option<String>,
pub body_text: String,
pub eml_path: Option<String>,
pub attachments: Vec<AttachmentRef>,
pub contact: Option<MessageContact>,
pub identity: Option<String>,
pub identity_email: Option<String>,
pub identity_match: Option<String>,
pub identity_candidates: Vec<String>,
pub observed_recipient_emails: Vec<String>,
pub workspace: WorkspaceState,
}Fields§
§schema_name: String§schema_version: u64§message_id: String§rfc822_message_id: Option<String>§in_reply_to: Option<String>§references: Vec<String>§remote: Option<RemoteState>§direction: Option<String>§subject: Option<String>§from: Option<String>§to: Vec<String>§cc: Vec<String>§bcc: Vec<String>§reply_to: Vec<String>§sender: Option<String>§delivered_to: Vec<String>§x_original_to: Vec<String>§envelope_to: Vec<String>§list_id: Option<String>§mailing_list_headers: Vec<String>§authentication: MessageAuthentication§received_rfc3339: Option<String>§sent_rfc3339: Option<String>§body_text: String§eml_path: Option<String>§attachments: Vec<AttachmentRef>§contact: Option<MessageContact>Contact association materialized from the sender address at
render/materialize time. Read-only on message show; refreshed when a
contact’s emails or name change, or by afmail render refresh.
identity: Option<String>§identity_email: Option<String>§identity_match: Option<String>§identity_candidates: Vec<String>§observed_recipient_emails: Vec<String>§workspace: WorkspaceStateTrait Implementations§
Source§impl Clone for MessageFile
impl Clone for MessageFile
Source§fn clone(&self) -> MessageFile
fn clone(&self) -> MessageFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageFile
impl Debug for MessageFile
Source§impl<'de> Deserialize<'de> for MessageFile
impl<'de> Deserialize<'de> for MessageFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MessageFile
Source§impl PartialEq for MessageFile
impl PartialEq for MessageFile
Source§fn eq(&self, other: &MessageFile) -> bool
fn eq(&self, other: &MessageFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageFile
impl Serialize for MessageFile
impl StructuralPartialEq for MessageFile
Auto Trait Implementations§
impl Freeze for MessageFile
impl RefUnwindSafe for MessageFile
impl Send for MessageFile
impl Sync for MessageFile
impl Unpin for MessageFile
impl UnsafeUnpin for MessageFile
impl UnwindSafe for MessageFile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.