[][src]Struct mailslurp::models::reply_to_email_options::ReplyToEmailOptions

pub struct ReplyToEmailOptions {
    pub attachments: Option<Vec<String>>,
    pub body: Option<String>,
    pub charset: Option<String>,
    pub is_html: Option<bool>,
    pub reply_to: Option<String>,
    pub send_strategy: Option<SendStrategy>,
    pub template: Option<String>,
    pub template_variables: Option<Value>,
}

ReplyToEmailOptions : Options for replying to email with API

Fields

attachments: Option<Vec<String>>

List of uploaded attachments to send with the reply. Optional.

body: Option<String>

Body of the reply email you want to send

charset: Option<String>

The charset that your message should be sent with. Optional. Default is UTF-8

is_html: Option<bool>

Is the reply HTML

reply_to: Option<String>

The replyTo header that should be used. Optional

send_strategy: Option<SendStrategy>

When to send the email. Typically immediately

template: Option<String>

Template ID to use instead of body. Will use template variable map to fill defined variable slots.

template_variables: Option<Value>

Template variables if using a template

Implementations

impl ReplyToEmailOptions[src]

pub fn new() -> ReplyToEmailOptions[src]

Options for replying to email with API

Trait Implementations

impl Clone for ReplyToEmailOptions[src]

impl Debug for ReplyToEmailOptions[src]

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

impl PartialEq<ReplyToEmailOptions> for ReplyToEmailOptions[src]

impl Serialize for ReplyToEmailOptions[src]

impl StructuralPartialEq for ReplyToEmailOptions[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.