pub struct GetMessage<'a> {
pub message_sid: &'a str,
pub client: &'a Twilio,
}
Fields§
§message_sid: &'a str
§client: &'a Twilio
Implementations§
Source§impl<'a> GetMessage<'a>
impl<'a> GetMessage<'a>
pub async fn redact(&self) -> TwilioResp<TwilioJson<MsgResp>>
pub async fn delete(&self) -> TwilioResp<TwilioJson<MsgResp>>
pub async fn media(&self) -> TwilioResp<TwilioJson<MediaResp>>
Trait Implementations§
Source§impl<'a> Debug for GetMessage<'a>
impl<'a> Debug for GetMessage<'a>
Source§impl<'a> Execute for GetMessage<'a>
impl<'a> Execute for GetMessage<'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 GetMessage<'a>
impl<'a> TwilioRequest for GetMessage<'a>
Auto Trait Implementations§
impl<'a> Freeze for GetMessage<'a>
impl<'a> !RefUnwindSafe for GetMessage<'a>
impl<'a> Send for GetMessage<'a>
impl<'a> Sync for GetMessage<'a>
impl<'a> Unpin for GetMessage<'a>
impl<'a> !UnwindSafe for GetMessage<'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