pub struct PresenceEvent {
pub segment_id: String,
pub token_reference: String,
pub connection_id: String,
pub joined: bool,
pub timestamp: i64,
}Expand description
One connection that joined or left one segment (PRES-01).
Fields§
§segment_id: String§token_reference: String§connection_id: String§joined: boolfalse when the connection left.
timestamp: i64Unix milliseconds.
Trait Implementations§
Source§impl Clone for PresenceEvent
impl Clone for PresenceEvent
Source§impl Debug for PresenceEvent
impl Debug for PresenceEvent
impl Eq for PresenceEvent
Source§impl PartialEq for PresenceEvent
impl PartialEq for PresenceEvent
impl StructuralPartialEq for PresenceEvent
Auto Trait Implementations§
impl Freeze for PresenceEvent
impl RefUnwindSafe for PresenceEvent
impl Send for PresenceEvent
impl Sync for PresenceEvent
impl Unpin for PresenceEvent
impl UnsafeUnpin for PresenceEvent
impl UnwindSafe for PresenceEvent
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