Struct sparkpost::Transmission[][src]

pub struct Transmission { /* fields omitted */ }

Sparkpost Transmission currently only supports sending email message

use sparkpost::Transmission;
let tm = Transmission::new("api_key_form_env".to_string(),
                           "https://api.eu.sparkpost.com/api/v1/transmissions".into());

for more info see https://developers.sparkpost.com/api/transmissions/

Methods

impl Transmission
[src]

creates new Transmission with api key and Api url

Send api request

Trait Implementations

impl Debug for Transmission
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations