[][src]Struct twilio_async::Twilio

pub struct Twilio { /* fields omitted */ }

Methods

impl Twilio[src]

pub fn new<S, P>(sid: S, token: P) -> TwilioResult<Twilio> where
    S: Into<String>,
    P: AsRef<str>, 
[src]

pub fn send_msg<'a>(
    &'a self,
    from: &'a str,
    to: &'a str,
    body: &'a str
) -> SendMsg<'a>
[src]

pub fn msg<'a>(&'a self, message_sid: &'a str) -> GetMessage<'a>[src]

pub fn msgs(&self) -> Messages[src]

pub fn call<'a>(
    &'a self,
    from: &'a str,
    to: &'a str,
    url: &'a str
) -> SendCall<'a>
[src]

pub fn conference<'a>(&'a self, sid: &'a str) -> GetConference<'a>[src]

pub fn conferences(&self) -> Conferences[src]

pub fn recording<'a>(&'a self, sid: &'a str) -> GetRecording<'a>[src]

pub fn recordings(&self) -> Recordings[src]

Trait Implementations

impl Debug for Twilio[src]

Auto Trait Implementations

impl !RefUnwindSafe for Twilio

impl Send for Twilio

impl Sync for Twilio

impl Unpin for Twilio

impl !UnwindSafe for Twilio

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,