pub struct Cmt {
pub mode: SmsMode,
pub alpha: Option<String>,
pub length: Option<u32>,
pub address: Option<String>,
pub address_type: Option<u8>,
pub scts: Option<String>,
}Expand description
+CMT header (§3.4.1). PDU: +CMT: [<alpha>],<length>; text:
+CMT: <oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>].
Fields§
§mode: SmsMode§alpha: Option<String>§length: Option<u32>§address: Option<String>§address_type: Option<u8>§scts: Option<String>Implementations§
Trait Implementations§
impl Eq for Cmt
impl StructuralPartialEq for Cmt
Auto Trait Implementations§
impl Forget for Cmt
impl Freeze for Cmt
impl RefUnwindSafe for Cmt
impl Send for Cmt
impl Sync for Cmt
impl Unpin for Cmt
impl UnsafeUnpin for Cmt
impl UnwindSafe for Cmt
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