pub struct PresenceMessage {
pub request_id: String,
pub channel_name: String,
pub event: PresenceEventType,
pub action: PresenceAction,
pub payload: PresencePayload,
}Fields§
§request_id: String§channel_name: String§event: PresenceEventType§action: PresenceAction§payload: PresencePayloadTrait Implementations§
Source§impl Clone for PresenceMessage
impl Clone for PresenceMessage
Source§fn clone(&self) -> PresenceMessage
fn clone(&self) -> PresenceMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PresenceMessage
impl Debug for PresenceMessage
Source§impl<'de> Deserialize<'de> for PresenceMessage
impl<'de> Deserialize<'de> for PresenceMessage
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 PresenceMessage
impl PartialEq for PresenceMessage
Source§fn eq(&self, other: &PresenceMessage) -> bool
fn eq(&self, other: &PresenceMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PresenceMessage
impl Serialize for PresenceMessage
impl StructuralPartialEq for PresenceMessage
Auto Trait Implementations§
impl Freeze for PresenceMessage
impl RefUnwindSafe for PresenceMessage
impl Send for PresenceMessage
impl Sync for PresenceMessage
impl Unpin for PresenceMessage
impl UnsafeUnpin for PresenceMessage
impl UnwindSafe for PresenceMessage
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