Struct tibco_ems::TextMessage
source · pub struct TextMessage {
pub body: String,
pub header: Option<HashMap<String, TypedValue>>,
pub destination: Option<Destination>,
pub reply_to: Option<Destination>,
pub pointer: Option<usize>,
}
Expand description
represents a Text Message
Fields§
§body: String
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 TextMessage
impl Clone for TextMessage
source§impl Debug for TextMessage
impl Debug for TextMessage
source§impl Default for TextMessage
impl Default for TextMessage
source§fn default() -> TextMessage
fn default() -> TextMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TextMessage
impl<'de> Deserialize<'de> for TextMessage
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<TextMessage> for Message
impl From<TextMessage> for Message
source§fn from(msg: TextMessage) -> Self
fn from(msg: TextMessage) -> Self
Converts to this type from the input type.