[][src]Struct sparkpost::transmission::Options

pub struct Options {
    pub open_tracking: bool,
    pub click_tracking: bool,
    pub transactional: bool,
    pub sandbox: bool,
    pub inline_css: bool,
    pub start_time: Option<DateTime<Utc>>,
}

Message options for a particular Message

use chrono::prelude::*;
use sparkpost::transmission::Options;

let options = Options {
           open_tracking: false,
           click_tracking: false,
           transactional: false,
           sandbox: false,
           inline_css: false,
           start_time: Some(Utc.ymd(2014, 7, 8).and_hms(9, 10, 11))
       };
// or
let options2 = Options::default();

Fields

open_tracking: boolclick_tracking: booltransactional: boolsandbox: boolinline_css: boolstart_time: Option<DateTime<Utc>>

Trait Implementations

impl Debug for Options[src]

impl Default for Options[src]

impl PartialEq<Options> for Options[src]

impl Serialize for Options[src]

impl StructuralPartialEq for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.