[][src]Struct azure_functions::send_grid::SubscriptionTracking

pub struct SubscriptionTracking {
    pub enable: bool,
    pub text: String,
    pub html: String,
    pub substitution_tag: Option<String>,
}

Represents the ability to insert a subscription management link at the bottom of the text and html bodies of email messages.

If you would like to specify the location of the link within your email, use substitution_tag.

Fields

enable: bool

The value indicating whether this setting is enabled.

text: String

The text to be appended to the email, with the subscription tracking link.

html: String

The HTML to be appended to the email, with the subscription tracking link.

substitution_tag: Option<String>

The tag that will be replaced with the unsubscribe URL.

Trait Implementations

impl Clone for SubscriptionTracking[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for SubscriptionTracking[src]

impl Debug for SubscriptionTracking[src]

impl Serialize for SubscriptionTracking[src]

impl<'de> Deserialize<'de> for SubscriptionTracking[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T