pub struct UserPresenceInfo {
pub user_id: String,
pub name: String,
pub status: UserStatus,
pub color: String,
pub cursors: HashMap<String, CursorInfo>,
}Expand description
User presence information.
Fields§
§user_id: String§name: String§status: UserStatus§color: String§cursors: HashMap<String, CursorInfo>Trait Implementations§
Source§impl Clone for UserPresenceInfo
impl Clone for UserPresenceInfo
Source§fn clone(&self) -> UserPresenceInfo
fn clone(&self) -> UserPresenceInfo
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 UserPresenceInfo
impl Debug for UserPresenceInfo
Source§impl<'de> Deserialize<'de> for UserPresenceInfo
impl<'de> Deserialize<'de> for UserPresenceInfo
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 UserPresenceInfo
impl RefUnwindSafe for UserPresenceInfo
impl Send for UserPresenceInfo
impl Sync for UserPresenceInfo
impl Unpin for UserPresenceInfo
impl UnwindSafe for UserPresenceInfo
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