pub struct MmsMessage {
pub from: Option<String>,
pub body: String,
pub subject: String,
pub to: Option<String>,
pub source: Option<String>,
pub schedule: Option<i64>,
pub custom_string: Option<String>,
pub list_id: Option<i64>,
pub country: Option<String>,
pub from_email: Option<String>,
}Expand description
One MMS to be sent. Subject has a 20-char limit per ClickSend.
Fields§
§from: Option<String>Sender id.
body: StringMessage text.
subject: StringSubject (max 20 chars).
to: Option<String>Recipient (E.164).
source: Option<String>Source tag.
schedule: Option<i64>Unix timestamp for scheduled send.
custom_string: Option<String>Your reference id.
list_id: Option<i64>Send to a saved list instead of to.
country: Option<String>Destination country (ISO).
from_email: Option<String>Where replies should be emailed.
Implementations§
Trait Implementations§
Source§impl Clone for MmsMessage
impl Clone for MmsMessage
Source§fn clone(&self) -> MmsMessage
fn clone(&self) -> MmsMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MmsMessage
impl Debug for MmsMessage
Source§impl Default for MmsMessage
impl Default for MmsMessage
Source§fn default() -> MmsMessage
fn default() -> MmsMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MmsMessage
impl RefUnwindSafe for MmsMessage
impl Send for MmsMessage
impl Sync for MmsMessage
impl Unpin for MmsMessage
impl UnsafeUnpin for MmsMessage
impl UnwindSafe for MmsMessage
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