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§fn clone(&self) -> DecodedMessage
fn clone(&self) -> DecodedMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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