pub struct BuiltMessage {
pub raw: Vec<u8>,
pub envelope_recipients: Vec<String>,
pub message_id: String,
}Expand description
The result of building an email message.
§References
- RFC 5322 (message format)
- RFC 5321 (SMTP envelope)
Fields§
§raw: Vec<u8>Raw RFC 5322 message bytes (headers + body). BCC excluded from headers.
envelope_recipients: Vec<String>All envelope recipients (to + cc + bcc) for SMTP RCPT TO.
message_id: StringThe generated Message-ID (bare addr-spec, no angle brackets).
Trait Implementations§
Source§impl Clone for BuiltMessage
impl Clone for BuiltMessage
Source§fn clone(&self) -> BuiltMessage
fn clone(&self) -> BuiltMessage
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 BuiltMessage
impl Debug for BuiltMessage
Source§impl PartialEq for BuiltMessage
impl PartialEq for BuiltMessage
impl Eq for BuiltMessage
impl StructuralPartialEq for BuiltMessage
Auto Trait Implementations§
impl Freeze for BuiltMessage
impl RefUnwindSafe for BuiltMessage
impl Send for BuiltMessage
impl Sync for BuiltMessage
impl Unpin for BuiltMessage
impl UnsafeUnpin for BuiltMessage
impl UnwindSafe for BuiltMessage
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