Struct huawei_modem::gsm_encoding::DecodedMessage
source · pub struct DecodedMessage {
pub text: String,
pub udh: Option<UserDataHeader>,
}
Expand description
A decoded text mesasge, with optional user data header.
Fields§
§text: String
Decoded text.
udh: Option<UserDataHeader>
User data header. You’ll want this to check if the message is concatenated, i.e. is part of a multi-part series.
Trait Implementations§
source§impl Clone for DecodedMessage
impl Clone for DecodedMessage
source§fn clone(&self) -> DecodedMessage
fn clone(&self) -> DecodedMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodedMessage
impl Debug for DecodedMessage
source§impl Default for DecodedMessage
impl Default for DecodedMessage
source§fn default() -> DecodedMessage
fn default() -> DecodedMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DecodedMessage
impl Send for DecodedMessage
impl Sync for DecodedMessage
impl Unpin for DecodedMessage
impl UnwindSafe for DecodedMessage
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