pub struct BroadcastPayload {
pub event: String,
pub payload: HashMap<String, Value>,
pub broadcast_type: String,
}Expand description
Payload for broadcast messages
Fields§
§event: String§payload: HashMap<String, Value>§broadcast_type: StringImplementations§
Trait Implementations§
Source§impl Clone for BroadcastPayload
impl Clone for BroadcastPayload
Source§fn clone(&self) -> BroadcastPayload
fn clone(&self) -> BroadcastPayload
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 BroadcastPayload
impl Debug for BroadcastPayload
Source§impl Default for BroadcastPayload
impl Default for BroadcastPayload
Source§impl<'de> Deserialize<'de> for BroadcastPayload
impl<'de> Deserialize<'de> for BroadcastPayload
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
Auto Trait Implementations§
impl Freeze for BroadcastPayload
impl RefUnwindSafe for BroadcastPayload
impl Send for BroadcastPayload
impl Sync for BroadcastPayload
impl Unpin for BroadcastPayload
impl UnwindSafe for BroadcastPayload
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