Implement Clone for SendmailTransport

This commit is contained in:
Paolo Barbolini
2020-09-09 11:41:34 +02:00
committed by Alexis Mousset
parent d2912a3e3f
commit e5460c4ba1

View File

@@ -80,7 +80,7 @@ mod error;
const DEFAUT_SENDMAIL: &str = "/usr/sbin/sendmail";
/// Sends an email using the `sendmail` command
#[derive(Debug)]
#[derive(Debug, Clone)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct SendmailTransport {
command: OsString,