pub struct PresenceTrackPayload {
pub event: PresenceEvent,
pub payload: HashMap<String, Value>,
}Expand description
Data to track with presence
Use [crate::sync::realtime_channel::RealtimeChannel::track()]
Fields§
§event: PresenceEvent§payload: HashMap<String, Value>Trait Implementations§
Source§impl Clone for PresenceTrackPayload
impl Clone for PresenceTrackPayload
Source§fn clone(&self) -> PresenceTrackPayload
fn clone(&self) -> PresenceTrackPayload
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 PresenceTrackPayload
impl Debug for PresenceTrackPayload
Source§impl Default for PresenceTrackPayload
impl Default for PresenceTrackPayload
Source§impl<'de> Deserialize<'de> for PresenceTrackPayload
impl<'de> Deserialize<'de> for PresenceTrackPayload
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 PresenceTrackPayload
impl RefUnwindSafe for PresenceTrackPayload
impl Send for PresenceTrackPayload
impl Sync for PresenceTrackPayload
impl Unpin for PresenceTrackPayload
impl UnwindSafe for PresenceTrackPayload
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