[−][src]Struct twilio_async::Twilio
Methods
impl Twilio
[src]
pub fn new<S, P>(sid: S, token: P) -> TwilioResult<Twilio> where
S: Into<String>,
P: AsRef<str>,
[src]
S: Into<String>,
P: AsRef<str>,
pub fn send_msg<'a>(
&'a self,
from: &'a str,
to: &'a str,
body: &'a str
) -> SendMsg<'a>
[src]
&'a self,
from: &'a str,
to: &'a str,
body: &'a str
) -> SendMsg<'a>
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]
&'a self,
from: &'a str,
to: &'a str,
url: &'a str
) -> SendCall<'a>
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,