pub struct PresencePeer {
pub actor_id: String,
pub client_id: String,
pub doc: Value,
}Expand description
§8.6 a peer’s ephemeral presence document on a scope key.
Fields§
§actor_id: String§client_id: String§doc: ValueTrait Implementations§
Source§impl Clone for PresencePeer
impl Clone for PresencePeer
Source§fn clone(&self) -> PresencePeer
fn clone(&self) -> PresencePeer
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 PresencePeer
impl Debug for PresencePeer
Auto Trait Implementations§
impl Freeze for PresencePeer
impl RefUnwindSafe for PresencePeer
impl Send for PresencePeer
impl Sync for PresencePeer
impl Unpin for PresencePeer
impl UnsafeUnpin for PresencePeer
impl UnwindSafe for PresencePeer
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