pub struct Message {Show 24 fields
pub context: String,
pub id: String,
pub type_field: String,
pub id2: String,
pub account_id: String,
pub msg_id: String,
pub from: From,
pub to: Vec<To>,
pub cc: Vec<Value>,
pub bcc: Vec<Value>,
pub subject: String,
pub seen: bool,
pub flagged: bool,
pub verification_results: Vec<Value>,
pub retention: bool,
pub retention_date: i64,
pub text: String,
pub html: Vec<String>,
pub has_attachments: bool,
pub attachments: Vec<Value>,
pub download_url: String,
pub size: i64,
pub created_at: String,
pub updated_at: String,
}Fields§
§context: String§id: String§type_field: String§id2: String§account_id: String§msg_id: String§from: From§to: Vec<To>§cc: Vec<Value>§bcc: Vec<Value>§subject: String§seen: bool§flagged: bool§verification_results: Vec<Value>§retention: bool§retention_date: i64§text: String§html: Vec<String>§has_attachments: bool§attachments: Vec<Value>§download_url: String§size: i64§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
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 StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more