pub struct Mms<'a> {
pub sms: Sms<'a>,
pub media_url: &'a str,
}Expand description
Describes MMS, suitable for urlencoded serialization
Fields§
§sms: Sms<'a>Flattened SMS part
media_url: &'a strUrl with media content.
Twilio generally accepts .gif, .png and .jpeg images so it formats it for device.
Other formats are sent as it is, but MMS is limited to 5mb.
Implementations§
Trait Implementations§
Source§impl<'a> Into<TwilioRequest> for Mms<'a>
impl<'a> Into<TwilioRequest> for Mms<'a>
Source§fn into(self) -> TwilioRequest
fn into(self) -> TwilioRequest
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl<'a> Freeze for Mms<'a>
impl<'a> RefUnwindSafe for Mms<'a>
impl<'a> Send for Mms<'a>
impl<'a> Sync for Mms<'a>
impl<'a> Unpin for Mms<'a>
impl<'a> UnwindSafe for Mms<'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