pub struct SendCall<'a> {
pub call: Call<'a>,
pub client: &'a Twilio,
}
Fields§
§call: Call<'a>
§client: &'a Twilio
Implementations§
Source§impl<'a> SendCall<'a>
impl<'a> SendCall<'a>
pub fn sid(self, sid: &'a str) -> SendCall<'a>
pub fn callerid(self, callerid: &'a str) -> SendCall<'a>
pub fn machine_detection(self, machine_detection: bool) -> SendCall<'a>
pub fn record(self, record: bool) -> SendCall<'a>
pub fn send_digits(self, send_digits: &'a str) -> SendCall<'a>
pub fn status_callback(self, callback: &'a str) -> SendCall<'a>
pub fn callback_event(self, event: CallbackEvent) -> SendCall<'a>
pub fn timeout(self, timeout: &'a str) -> SendCall<'a>
Trait Implementations§
Source§impl<'a> Execute for SendCall<'a>
impl<'a> Execute for SendCall<'a>
fn request<U>( &self, method: Method, url: U, body: Option<String>, ) -> Result<Request<Body>, TwilioErr>
fn execute<'life0, 'async_trait, U, D>(
&'life0 self,
method: Method,
url: U,
body: Option<String>,
) -> Pin<Box<dyn Future<Output = TwilioResp<TwilioJson<D>>> + Send + 'async_trait>>where
U: AsRef<str> + Send + 'async_trait,
D: for<'de> Deserialize<'de> + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<'a> Freeze for SendCall<'a>
impl<'a> !RefUnwindSafe for SendCall<'a>
impl<'a> Send for SendCall<'a>
impl<'a> Sync for SendCall<'a>
impl<'a> Unpin for SendCall<'a>
impl<'a> !UnwindSafe for SendCall<'a>
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