pub struct GetMMSParams {
pub mms: Option<i64>,
pub from: Option<String>,
pub to: Option<String>,
pub type: Option<MessageType>,
pub did: Option<String>,
pub contact: Option<String>,
pub limit: Option<String>,
pub timezone: Option<String>,
pub all_messages: Option<i64>,
}Expand description
- Retrieves a list of MMS messages by: date range, mms type, DID number, and contact.
Parameters for Client::get_mms (wire method getMMS).
Fields§
§mms: Option<i64>ID for a specific MMS (Example: 1918)
from: Option<String>Start Date for Filtering MMSs (Example: ‘2014-03-30’) - Default value: Today
to: Option<String>End Date for Filtering MMSs (Example: ‘2014-03-30’) - Default value: Today
type: Option<MessageType>Filter MMSs by Type (Boolean: 1 = received / 0 = sent)
did: Option<String>DID number for Filtering MMSs (Example: 5551234567)
contact: Option<String>Contact number for Filtering MMSs (Example: 5551234567)
limit: Option<String>Number of records to be displayed (Example: 20) - Default value: 50
timezone: Option<String>Adjust time of MMSs according to Timezome (Numeric: -12 to 13)
all_messages: Option<i64>Filter to recive all MMSs and SMSs, 1 recive all SMS and MMS, 0 if only need MMS, important: the sms ID must be 0
Trait Implementations§
Source§impl Clone for GetMMSParams
impl Clone for GetMMSParams
Source§fn clone(&self) -> GetMMSParams
fn clone(&self) -> GetMMSParams
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 GetMMSParams
impl Debug for GetMMSParams
Source§impl Default for GetMMSParams
impl Default for GetMMSParams
Source§fn default() -> GetMMSParams
fn default() -> GetMMSParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetMMSParams
impl RefUnwindSafe for GetMMSParams
impl Send for GetMMSParams
impl Sync for GetMMSParams
impl Unpin for GetMMSParams
impl UnsafeUnpin for GetMMSParams
impl UnwindSafe for GetMMSParams
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