pub struct Dcs {
pub raw: u8,
pub alphabet: Alphabet,
pub class: Option<u8>,
pub compressed: bool,
pub auto_delete: bool,
pub mwi: Option<Mwi>,
pub reserved: bool,
}Expand description
TP-DCS for SMS (23.038 §4).
Fields§
§raw: u8§alphabet: Alphabet§class: Option<u8>Message class 0–3, when the DCS carries one.
compressed: bool§auto_delete: boolCoding group 01xx: delete after reading.
mwi: Option<Mwi>§reserved: boolReserved coding group or alphabet; decoded as GSM 7-bit as 23.038 §4 requires.
Implementations§
Trait Implementations§
impl Copy for Dcs
Source§impl<'de> Deserialize<'de> for Dcs
impl<'de> Deserialize<'de> for Dcs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Dcs
impl StructuralPartialEq for Dcs
Auto Trait Implementations§
impl Forget for Dcs
impl Freeze for Dcs
impl RefUnwindSafe for Dcs
impl Send for Dcs
impl Sync for Dcs
impl Unpin for Dcs
impl UnsafeUnpin for Dcs
impl UnwindSafe for Dcs
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