pub struct CbsDcs {
pub raw: u8,
pub alphabet: Alphabet,
pub compressed: bool,
pub language_prefix: bool,
pub reserved: bool,
}Expand description
What a CBS/USSD data coding scheme says about the payload (23.038 §5).
Fields§
§raw: u8§alphabet: Alphabet§compressed: bool§language_prefix: boolThe payload starts with a language indication (DCS 0x10: two characters + CR in GSM 7-bit; DCS 0x11: two GSM 7-bit characters packed into two octets).
reserved: boolReserved value, decoded as GSM 7-bit as the spec requires.
Implementations§
Trait Implementations§
impl Copy for CbsDcs
Source§impl<'de> Deserialize<'de> for CbsDcs
impl<'de> Deserialize<'de> for CbsDcs
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 CbsDcs
impl StructuralPartialEq for CbsDcs
Auto Trait Implementations§
impl Forget for CbsDcs
impl Freeze for CbsDcs
impl RefUnwindSafe for CbsDcs
impl Send for CbsDcs
impl Sync for CbsDcs
impl Unpin for CbsDcs
impl UnsafeUnpin for CbsDcs
impl UnwindSafe for CbsDcs
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