pub struct BaseMailThread {Show 37 fields
pub id: Option<i32>,
pub account_id: Option<String>,
pub user_id: Option<i32>,
pub subject: Option<String>,
pub snippet: Option<String>,
pub read_flag: Option<ReadFlag>,
pub mail_tracking_status: Option<Option<String>>,
pub has_attachments_flag: Option<HasAttachmentsFlag>,
pub has_inline_attachments_flag: Option<HasInlineAttachmentsFlag>,
pub has_real_attachments_flag: Option<HasRealAttachmentsFlag>,
pub deleted_flag: Option<DeletedFlag>,
pub synced_flag: Option<SyncedFlag>,
pub smart_bcc_flag: Option<SmartBccFlag>,
pub mail_link_tracking_enabled_flag: Option<MailLinkTrackingEnabledFlag>,
pub parties: Option<Box<BaseMailThreadAllOfParties>>,
pub drafts_parties: Option<Vec<Value>>,
pub folders: Option<Vec<String>>,
pub version: Option<f32>,
pub snippet_draft: Option<Option<String>>,
pub snippet_sent: Option<String>,
pub message_count: Option<i32>,
pub has_draft_flag: Option<HasDraftFlag>,
pub has_sent_flag: Option<HasSentFlag>,
pub archived_flag: Option<ArchivedFlag>,
pub shared_flag: Option<SharedFlag>,
pub external_deleted_flag: Option<ExternalDeletedFlag>,
pub first_message_to_me_flag: Option<FirstMessageToMeFlag>,
pub last_message_timestamp: Option<String>,
pub first_message_timestamp: Option<String>,
pub last_message_sent_timestamp: Option<Option<String>>,
pub last_message_received_timestamp: Option<String>,
pub add_time: Option<String>,
pub update_time: Option<String>,
pub deal_id: Option<Option<i32>>,
pub deal_status: Option<Option<String>>,
pub lead_id: Option<Option<Uuid>>,
pub all_messages_sent_flag: Option<AllMessagesSentFlag>,
}
Fields§
§id: Option<i32>
ID of the mail thread
account_id: Option<String>
The connection account ID
user_id: Option<i32>
ID of the user whom mail message will be assigned to
subject: Option<String>
The subject
snippet: Option<String>
A snippet
read_flag: Option<ReadFlag>
§mail_tracking_status: Option<Option<String>>
Mail tracking status
has_attachments_flag: Option<HasAttachmentsFlag>
§has_inline_attachments_flag: Option<HasInlineAttachmentsFlag>
§has_real_attachments_flag: Option<HasRealAttachmentsFlag>
§deleted_flag: Option<DeletedFlag>
§synced_flag: Option<SyncedFlag>
§smart_bcc_flag: Option<SmartBccFlag>
§mail_link_tracking_enabled_flag: Option<MailLinkTrackingEnabledFlag>
§parties: Option<Box<BaseMailThreadAllOfParties>>
§drafts_parties: Option<Vec<Value>>
Parties of the drafted mail thread
folders: Option<Vec<String>>
Folders in which messages from thread are being stored
version: Option<f32>
Version
snippet_draft: Option<Option<String>>
A snippet from a draft
snippet_sent: Option<String>
A snippet from a message sent
message_count: Option<i32>
An amount of messages
has_draft_flag: Option<HasDraftFlag>
§has_sent_flag: Option<HasSentFlag>
§archived_flag: Option<ArchivedFlag>
§external_deleted_flag: Option<ExternalDeletedFlag>
§first_message_to_me_flag: Option<FirstMessageToMeFlag>
§last_message_timestamp: Option<String>
Last message timestamp
first_message_timestamp: Option<String>
The time when the mail thread has had the first message received or created
last_message_sent_timestamp: Option<Option<String>>
The last time when the mail thread has had a message sent
last_message_received_timestamp: Option<String>
The last time when the mail thread has had a message received
add_time: Option<String>
The time when the mail thread was inserted to database
update_time: Option<String>
The time when the mail thread was updated in database received
deal_id: Option<Option<i32>>
The ID of the deal
deal_status: Option<Option<String>>
Status of the deal
lead_id: Option<Option<Uuid>>
The ID of the lead
all_messages_sent_flag: Option<AllMessagesSentFlag>
Implementations§
Source§impl BaseMailThread
impl BaseMailThread
pub fn new() -> BaseMailThread
Trait Implementations§
Source§impl Clone for BaseMailThread
impl Clone for BaseMailThread
Source§fn clone(&self) -> BaseMailThread
fn clone(&self) -> BaseMailThread
Returns a duplicate of the value. Read more
1.0.0 · 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 BaseMailThread
impl Debug for BaseMailThread
Source§impl<'de> Deserialize<'de> for BaseMailThread
impl<'de> Deserialize<'de> for BaseMailThread
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
Source§impl PartialEq for BaseMailThread
impl PartialEq for BaseMailThread
Source§impl Serialize for BaseMailThread
impl Serialize for BaseMailThread
impl StructuralPartialEq for BaseMailThread
Auto Trait Implementations§
impl Freeze for BaseMailThread
impl RefUnwindSafe for BaseMailThread
impl Send for BaseMailThread
impl Sync for BaseMailThread
impl Unpin for BaseMailThread
impl UnwindSafe for BaseMailThread
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