pub struct Recordings<'a> {
pub client: &'a Twilio,
}
Fields§
§client: &'a Twilio
Implementations§
Source§impl<'a> Recordings<'a>
impl<'a> Recordings<'a>
pub async fn for_call( &self, call_sid: &'a str, ) -> TwilioResp<TwilioJson<ListRecordingResp>>
pub async fn created( &self, date_created: &'a str, ) -> TwilioResp<TwilioJson<ListRecordingResp>>
pub async fn range( &self, before: &'a str, after: &'a str, ) -> TwilioResp<TwilioJson<ListRecordingResp>>
Trait Implementations§
Source§impl<'a> Debug for Recordings<'a>
impl<'a> Debug for Recordings<'a>
Source§impl<'a> Execute for Recordings<'a>
impl<'a> Execute for Recordings<'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,
Source§impl<'a> TwilioRequest for Recordings<'a>
impl<'a> TwilioRequest for Recordings<'a>
type Resp = ListRecordingResp
fn run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = TwilioResp<TwilioJson<Self::Resp>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<'a> Freeze for Recordings<'a>
impl<'a> !RefUnwindSafe for Recordings<'a>
impl<'a> Send for Recordings<'a>
impl<'a> Sync for Recordings<'a>
impl<'a> Unpin for Recordings<'a>
impl<'a> !UnwindSafe for Recordings<'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