pub struct ServerBroadcastPayload {
pub sender_id: UserId,
pub message: JsonPayload,
}Fields§
§sender_id: UserId§message: JsonPayloadTrait Implementations§
Source§impl Clone for ServerBroadcastPayload
impl Clone for ServerBroadcastPayload
Source§fn clone(&self) -> ServerBroadcastPayload
fn clone(&self) -> ServerBroadcastPayload
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 ServerBroadcastPayload
impl Debug for ServerBroadcastPayload
Source§impl<'de> Deserialize<'de> for ServerBroadcastPayload
impl<'de> Deserialize<'de> for ServerBroadcastPayload
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 for ServerBroadcastPayload
impl PartialEq for ServerBroadcastPayload
Source§impl Serialize for ServerBroadcastPayload
impl Serialize for ServerBroadcastPayload
impl Eq for ServerBroadcastPayload
impl StructuralPartialEq for ServerBroadcastPayload
Auto Trait Implementations§
impl Freeze for ServerBroadcastPayload
impl RefUnwindSafe for ServerBroadcastPayload
impl Send for ServerBroadcastPayload
impl Sync for ServerBroadcastPayload
impl Unpin for ServerBroadcastPayload
impl UnsafeUnpin for ServerBroadcastPayload
impl UnwindSafe for ServerBroadcastPayload
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