pub struct SenderProfile {
pub from_name: String,
pub from_email: String,
pub reply_to: Option<String>,
}Expand description
Overrides the default sender for a specific email.
When attached to a SendEmail via SendEmail::sender, these values
take precedence over the default_from_* fields in
EmailConfig.
Fields§
§from_name: StringDisplay name for the From header.
from_email: StringEmail address for the From header.
reply_to: Option<String>Optional Reply-To address.
Auto Trait Implementations§
impl Freeze for SenderProfile
impl RefUnwindSafe for SenderProfile
impl Send for SenderProfile
impl Sync for SenderProfile
impl Unpin for SenderProfile
impl UnsafeUnpin for SenderProfile
impl UnwindSafe for SenderProfile
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