pub struct ObjectMessage {
pub body: Vec<u8>,
pub header: Option<HashMap<String, TypedValue>>,
pub destination: Option<Destination>,
pub reply_to: Option<Destination>,
pub pointer: Option<usize>,
}
Expand description
represents a Object Message
Fields§
§body: Vec<u8>
message body
header: Option<HashMap<String, TypedValue>>
message header
destination: Option<Destination>
message destination
reply_to: Option<Destination>
reply to header
pointer: Option<usize>
point to the ems native object
Trait Implementations§
Source§impl Clone for ObjectMessage
impl Clone for ObjectMessage
Source§impl Debug for ObjectMessage
impl Debug for ObjectMessage
Source§impl Default for ObjectMessage
impl Default for ObjectMessage
Source§fn default() -> ObjectMessage
fn default() -> ObjectMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectMessage
impl<'de> Deserialize<'de> for ObjectMessage
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
Source§impl From<ObjectMessage> for Message
impl From<ObjectMessage> for Message
Source§fn from(msg: ObjectMessage) -> Self
fn from(msg: ObjectMessage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObjectMessage
impl PartialEq for ObjectMessage
Source§impl Serialize for ObjectMessage
impl Serialize for ObjectMessage
impl StructuralPartialEq for ObjectMessage
Auto Trait Implementations§
impl Freeze for ObjectMessage
impl RefUnwindSafe for ObjectMessage
impl Send for ObjectMessage
impl Sync for ObjectMessage
impl Unpin for ObjectMessage
impl UnwindSafe for ObjectMessage
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