Struct Sms
#[repr(C)]pub struct Sms {
pub storage: StorageType,
pub format: Format,
pub sms_type: Type,
pub src_addr: [c_char; 252],
pub sms_data_len: c_int,
pub sms_data_buf: [c_char; 1440],
pub timestamp: [c_char; 21],
pub user_data_head_valid: u8,
pub user_data_head: UserDataHead,
pub mode: ModeType,
pub storage_index: u32,
pub smscb_head: [c_char; 6],
}Fields§
§storage: StorageTypeSpecifies where this msg is stored.
format: Format§sms_type: Type§src_addr: [c_char; 252]Telephone number string.
sms_data_len: c_int§sms_data_buf: [c_char; 1440]SMS content, data format depends on format.
timestamp: [c_char; 21]Message time stamp (in text mode). string format: “yy/MM/dd,hh:mm:ss+/-TimeZone”.
user_data_head_valid: u8Indicate whether long sms. TRUE-long sms; FALSE-short message.
user_data_head: UserDataHeadLong sms user data head info.
mode: ModeTypeSpecifies where this msg is stored cdma or gw area.
storage_index: u32Storage index, -1 means not store.
smscb_head: [c_char; 6]SMS CB head.
Implementations§
Auto Trait Implementations§
impl Freeze for Sms
impl RefUnwindSafe for Sms
impl Send for Sms
impl Sync for Sms
impl Unpin for Sms
impl UnwindSafe for Sms
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