pub struct DownStreamMessage {
pub spec_version: Option<String>,
pub headers: MessageHeaders,
pub type: MessageType,
pub data: Option<String>,
pub extensions: HashMap<String, Value>,
}Expand description
Base message structure for downstream messages
Fields§
§spec_version: Option<String>§headers: MessageHeaders§type: MessageType§data: Option<String>§extensions: HashMap<String, Value>Trait Implementations§
Source§impl Clone for DownStreamMessage
impl Clone for DownStreamMessage
Source§fn clone(&self) -> DownStreamMessage
fn clone(&self) -> DownStreamMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DownStreamMessage
impl Debug for DownStreamMessage
Source§impl<'de> Deserialize<'de> for DownStreamMessage
impl<'de> Deserialize<'de> for DownStreamMessage
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 Serialize for DownStreamMessage
impl Serialize for DownStreamMessage
Source§impl TryFrom<DownStreamMessage> for CallbackMessage
impl TryFrom<DownStreamMessage> for CallbackMessage
Source§impl TryFrom<DownStreamMessage> for EventMessage
impl TryFrom<DownStreamMessage> for EventMessage
Source§impl TryFrom<DownStreamMessage> for SystemMessage
impl TryFrom<DownStreamMessage> for SystemMessage
Auto Trait Implementations§
impl Freeze for DownStreamMessage
impl RefUnwindSafe for DownStreamMessage
impl Send for DownStreamMessage
impl Sync for DownStreamMessage
impl Unpin for DownStreamMessage
impl UnsafeUnpin for DownStreamMessage
impl UnwindSafe for DownStreamMessage
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