Function qpid_proton_sys::pn_message_id[][src]

pub unsafe extern "C" fn pn_message_id(msg: *mut pn_message_t) -> *mut pn_data_t
Expand description

Get/set the id for a message. The message id provides a globally unique identifier for a message. A message id can be an a string, an unsigned long, a uuid or a binary value. This operation returns a pointer to a pn_data_t that can be used to access and/or modify the value of the message id. The pointer is valid until the message is freed. See pn_data_t for details on how to get/set the value.