pub struct WebSocketUpdate {
pub update_type: UpdateType,
pub data: Value,
}Expand description
WebSocket update message sent to dashboard clients
Fields§
§update_type: UpdateTypeType of update
data: ValueJSON payload for the update
Trait Implementations§
Source§impl Clone for WebSocketUpdate
impl Clone for WebSocketUpdate
Source§fn clone(&self) -> WebSocketUpdate
fn clone(&self) -> WebSocketUpdate
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 WebSocketUpdate
impl Debug for WebSocketUpdate
Source§impl<'de> Deserialize<'de> for WebSocketUpdate
impl<'de> Deserialize<'de> for WebSocketUpdate
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 WebSocketUpdate
impl RefUnwindSafe for WebSocketUpdate
impl Send for WebSocketUpdate
impl Sync for WebSocketUpdate
impl Unpin for WebSocketUpdate
impl UnsafeUnpin for WebSocketUpdate
impl UnwindSafe for WebSocketUpdate
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