pub struct Message {
pub message: Option<String>,
pub message_hex: Option<String>,
pub text: String,
pub item_links: Vec<ItemLink>,
}Expand description
Decoded display text with optional raw representation and structured links.
Fields§
§message: Option<String>Lossy decoded wire text when raw output was requested.
message_hex: Option<String>Hex-encoded wire text when raw output was requested.
text: StringReadable display text with wire markup decoded.
item_links: Vec<ItemLink>Structured links in display order.
Trait Implementations§
Source§impl Serialize for Message
impl Serialize for Message
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for Message
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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