twilio 1.1.0

Rust bindings for the Twilio API
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::{format_xml_string, Action};

pub struct Message {
    pub txt: String,
}

impl Action for Message {
    fn as_twiml(&self) -> String {
        format_xml_string("Message", &vec![], &self.txt)
    }
}