pub struct UssdText {
pub text: String,
pub language: Option<String>,
}Expand description
A decoded USSD string.
Fields§
§text: String§language: Option<String>ISO 639 language: from a DCS 0x10/0x11 prefix, else the one the DCS names
(CbsDcs::language).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UssdText
impl<'de> Deserialize<'de> for UssdText
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 UssdText
impl StructuralPartialEq for UssdText
Auto Trait Implementations§
impl Forget for UssdText
impl Freeze for UssdText
impl RefUnwindSafe for UssdText
impl Send for UssdText
impl Sync for UssdText
impl Unpin for UssdText
impl UnsafeUnpin for UssdText
impl UnwindSafe for UssdText
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