pub struct InboundEmail {
pub message_id: String,
pub from: String,
pub to: Vec<String>,
pub subject: String,
pub body: String,
pub matched_rules: Vec<String>,
pub actions_executed: Vec<String>,
pub timestamp: DateTime<Utc>,
}Fields§
§message_id: String§from: String§to: Vec<String>§subject: String§body: String§matched_rules: Vec<String>§actions_executed: Vec<String>§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for InboundEmail
impl Clone for InboundEmail
Source§fn clone(&self) -> InboundEmail
fn clone(&self) -> InboundEmail
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 InboundEmail
impl Debug for InboundEmail
Source§impl<'de> Deserialize<'de> for InboundEmail
impl<'de> Deserialize<'de> for InboundEmail
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
Auto Trait Implementations§
impl Freeze for InboundEmail
impl RefUnwindSafe for InboundEmail
impl Send for InboundEmail
impl Sync for InboundEmail
impl Unpin for InboundEmail
impl UnsafeUnpin for InboundEmail
impl UnwindSafe for InboundEmail
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