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>>,
}
Expand description
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: bool
§click_tracking: bool
§transactional: bool
§sandbox: bool
§inline_css: bool
§start_time: Option<DateTime<Utc>>
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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