Struct tea_runtime_codec::DelayMessage
source · pub struct DelayMessage {
pub delay_seconds: u64,
pub subject: String,
pub reply_to: String,
pub body: Vec<u8>,
}Fields§
§delay_seconds: u64§subject: StringThe message subject or topic
reply_to: StringThe reply-to field of the subject. This will be empty if there is no reply subject
body: Vec<u8>The raw bytes of the message. Encoding/contents is determined by applications out of band
Trait Implementations§
source§impl Debug for DelayMessage
impl Debug for DelayMessage
source§impl<'de> Deserialize<'de> for DelayMessage
impl<'de> Deserialize<'de> for DelayMessage
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 PartialEq<DelayMessage> for DelayMessage
impl PartialEq<DelayMessage> for DelayMessage
source§fn eq(&self, other: &DelayMessage) -> bool
fn eq(&self, other: &DelayMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.