pub struct Twilio { /* private fields */ }
Implementations§
Source§impl Twilio
impl Twilio
pub fn new<S, P>(sid: S, token: P) -> TwilioResult<Twilio>
pub fn send_msg<'a>( &'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>
pub fn msgs(&self) -> Messages<'_>
pub fn call<'a>( &'a self, from: &'a str, to: &'a str, url: &'a str, ) -> SendCall<'a>
pub fn conference<'a>(&'a self, sid: &'a str) -> GetConference<'a>
pub fn conferences(&self) -> Conferences<'_>
pub fn recording<'a>(&'a self, sid: &'a str) -> GetRecording<'a>
pub fn recordings(&self) -> Recordings<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Twilio
impl !RefUnwindSafe for Twilio
impl Send for Twilio
impl Sync for Twilio
impl Unpin for Twilio
impl !UnwindSafe for Twilio
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more