pub struct SmtpSubmission {
pub message_id: String,
pub from: String,
pub to: Vec<String>,
pub subject: Option<String>,
pub raw_size_bytes: usize,
pub received_at: DateTime<Utc>,
pub auth_user: String,
}Expand description
One email accepted by the inbound SMTP listener
(ses_smtp.rs::store_email). Captured alongside the
matching SentEmail so tests can assert SMTP-specific facts
(auth user, raw size) without re-deriving them from raw_data.
Fields§
§message_id: String§from: String§to: Vec<String>§subject: Option<String>§raw_size_bytes: usize§received_at: DateTime<Utc>§auth_user: StringTrait Implementations§
Source§impl Clone for SmtpSubmission
impl Clone for SmtpSubmission
Source§fn clone(&self) -> SmtpSubmission
fn clone(&self) -> SmtpSubmission
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 SmtpSubmission
impl Debug for SmtpSubmission
Source§impl<'de> Deserialize<'de> for SmtpSubmission
impl<'de> Deserialize<'de> for SmtpSubmission
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 SmtpSubmission
impl RefUnwindSafe for SmtpSubmission
impl Send for SmtpSubmission
impl Sync for SmtpSubmission
impl Unpin for SmtpSubmission
impl UnsafeUnpin for SmtpSubmission
impl UnwindSafe for SmtpSubmission
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