pub struct SendEmailPayload {
pub template: String,
pub to: Vec<String>,
pub locale: Option<String>,
pub sender: Option<SenderProfile>,
pub context: HashMap<String, Value>,
}Expand description
Fields§
§template: String§to: Vec<String>§locale: Option<String>§sender: Option<SenderProfile>§context: HashMap<String, Value>Trait Implementations§
Source§impl Clone for SendEmailPayload
impl Clone for SendEmailPayload
Source§fn clone(&self) -> SendEmailPayload
fn clone(&self) -> SendEmailPayload
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 SendEmailPayload
impl Debug for SendEmailPayload
Source§impl<'de> Deserialize<'de> for SendEmailPayload
impl<'de> Deserialize<'de> for SendEmailPayload
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
Source§impl From<SendEmail> for SendEmailPayload
impl From<SendEmail> for SendEmailPayload
Source§impl From<SendEmailPayload> for SendEmail
impl From<SendEmailPayload> for SendEmail
Source§fn from(p: SendEmailPayload) -> Self
fn from(p: SendEmailPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SendEmailPayload
impl RefUnwindSafe for SendEmailPayload
impl Send for SendEmailPayload
impl Sync for SendEmailPayload
impl Unpin for SendEmailPayload
impl UnsafeUnpin for SendEmailPayload
impl UnwindSafe for SendEmailPayload
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