pub struct DecodedMessage {
pub text: String,
pub udh: Option<UserDataHeader>,
}Expand description
A decoded text mesasge, with optional user data header.
Fields§
§text: StringDecoded 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§impl Debug for DecodedMessage
impl Debug for DecodedMessage
Auto Trait Implementations§
impl Freeze for DecodedMessage
impl RefUnwindSafe for DecodedMessage
impl Send for DecodedMessage
impl Sync for DecodedMessage
impl Unpin for DecodedMessage
impl UnsafeUnpin 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