Struct twilio_async::twiml::dial::Dial [−][src]
pub struct Dial<'a> { /* fields omitted */ }
Methods
impl<'a> Dial<'a>
[src]
impl<'a> Dial<'a>
pub fn new(number: &'a str) -> Self
[src]
pub fn new(number: &'a str) -> Self
pub fn method(self, method: Method) -> Self
[src]
pub fn method(self, method: Method) -> Self
pub fn action(self, url: &'a str) -> Self
[src]
pub fn action(self, url: &'a str) -> Self
pub fn record(self, status: Record) -> Self
[src]
pub fn record(self, status: Record) -> Self
pub fn recording_callback(self, url: &'a str) -> Self
[src]
pub fn recording_callback(self, url: &'a str) -> Self
pub fn timeout(self, timeout: usize) -> Self
[src]
pub fn timeout(self, timeout: usize) -> Self
Trait Implementations
impl<'a> Debug for Dial<'a>
[src]
impl<'a> Debug for Dial<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Default for Dial<'a>
[src]
impl<'a> Default for Dial<'a>
impl<'a> Twiml for Dial<'a>
[src]
impl<'a> Twiml for Dial<'a>
fn write<W: Write>(&self, w: &mut EventWriter<W>) -> TwilioResult<()>
[src]
fn write<W: Write>(&self, w: &mut EventWriter<W>) -> TwilioResult<()>
fn build(&self) -> TwilioResult<String>
[src]
fn build(&self) -> TwilioResult<String>
impl<'a, T> From<T> for Dial<'a> where
T: Into<&'a str>,
[src]
impl<'a, T> From<T> for Dial<'a> where
T: Into<&'a str>,