Struct tibco_ems::BytesMessage
source · pub struct BytesMessage {
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 Binary 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 BytesMessage
impl Clone for BytesMessage
source§impl Debug for BytesMessage
impl Debug for BytesMessage
source§impl Default for BytesMessage
impl Default for BytesMessage
source§fn default() -> BytesMessage
fn default() -> BytesMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BytesMessage
impl<'de> Deserialize<'de> for BytesMessage
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<BytesMessage> for Message
impl From<BytesMessage> for Message
source§fn from(msg: BytesMessage) -> Self
fn from(msg: BytesMessage) -> Self
Converts to this type from the input type.