[−][src]Struct azure_functions::send_grid::Personalization
Represents a personalization of an email message.
Defines who should receive an individual message and how that message should be handled.
Fields in personalizations will override the fields of the same name from the message level.
Fields
to: Vec<EmailAddress>
The list of email recipients.
cc: Vec<EmailAddress>
The list of recipients who will receive a carbon copy of the email.
bcc: Vec<EmailAddress>
The list of recipients who will receive a blind carbon copy of the email.
subject: Option<String>
The subject line of the email.
headers: HashMap<String, String>
The email message headers.
substitutions: HashMap<String, String>
The map of substitution tags to substitution values. Substitutions will apply to the content of the email, in addition to the subject and reply-to parameters.
custom_args: HashMap<String, String>
The map of custom argument to value. Custom arguments will be carried along with the email, activity data, and links.
send_at: Option<i64>
The unix timestamp specifying when the email should be sent from Twilio SendGrid.
template_data: Option<Map<String, Value>>
The template data to use for Handlebars based templates.
Trait Implementations
impl Clone for Personalization
[src]
fn clone(&self) -> Personalization
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Personalization
[src]
fn default() -> Personalization
[src]
impl Debug for Personalization
[src]
impl Serialize for Personalization
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Personalization
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Personalization
impl Sync for Personalization
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,