pub struct Presence {
pub metas: Vec<Map<String, Value>>,
pub fields: Map<String, Value>,
}Expand description
A Presence entry and its active connection metadata.
Fields§
§metas: Vec<Map<String, Value>>Active metas, each identified by its phx_ref field.
fields: Map<String, Value>Additional fields attached to the presence entry outside metas.
Trait Implementations§
impl StructuralPartialEq for Presence
Auto Trait Implementations§
impl Freeze for Presence
impl RefUnwindSafe for Presence
impl Send for Presence
impl Sync for Presence
impl Unpin for Presence
impl UnsafeUnpin for Presence
impl UnwindSafe for Presence
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