pub struct MessageRaw {
pub meta: MsgMeta,
pub payload: Vec<u8>,
pub attachments_data: Vec<u8>,
}Expand description
The message itself with payload as raw bytes
Fields§
§meta: MsgMeta§payload: Vec<u8>§attachments_data: Vec<u8>Trait Implementations§
Source§impl Clone for MessageRaw
impl Clone for MessageRaw
Source§fn clone(&self) -> MessageRaw
fn clone(&self) -> MessageRaw
Returns a duplicate 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 MessageRaw
impl Debug for MessageRaw
Source§impl<'de> Deserialize<'de> for MessageRaw
impl<'de> Deserialize<'de> for MessageRaw
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
Auto Trait Implementations§
impl Freeze for MessageRaw
impl RefUnwindSafe for MessageRaw
impl Send for MessageRaw
impl Sync for MessageRaw
impl Unpin for MessageRaw
impl UnwindSafe for MessageRaw
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