Struct postmark_client::types::Email [−][src]
pub struct Email {Show 14 fields
pub from: String,
pub to: String,
pub cc: Option<String>,
pub bcc: Option<String>,
pub subject: Option<String>,
pub tag: Option<String>,
pub body: EmailBody,
pub reply_to: Option<String>,
pub headers: Option<Vec<EmailHeader>>,
pub track_opens: Option<bool>,
pub track_links: Option<TrackLinks>,
pub metadata: Option<HashMap<String, String>>,
pub attachments: Option<Vec<Attachment>>,
pub message_stream: Option<String>,
}Fields
from: Stringto: Stringcc: Option<String>bcc: Option<String>subject: Option<String>tag: Option<String>body: EmailBodyreply_to: Option<String>headers: Option<Vec<EmailHeader>>track_opens: Option<bool>track_links: Option<TrackLinks>metadata: Option<HashMap<String, String>>attachments: Option<Vec<Attachment>>message_stream: Option<String>Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Email
impl UnwindSafe for Email
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more