pub struct PresenceDelta {
pub updates: Vec<UserPresence>,
pub removals: Vec<UserId>,
}Expand description
Delta for presence updates.
Fields§
§updates: Vec<UserPresence>Updated presence records.
removals: Vec<UserId>Users that have left.
Implementations§
Trait Implementations§
Source§impl Clone for PresenceDelta
impl Clone for PresenceDelta
Source§fn clone(&self) -> PresenceDelta
fn clone(&self) -> PresenceDelta
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 PresenceDelta
impl Debug for PresenceDelta
Source§impl Default for PresenceDelta
impl Default for PresenceDelta
Source§impl<'de> Deserialize<'de> for PresenceDelta
impl<'de> Deserialize<'de> for PresenceDelta
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
Source§impl PartialEq for PresenceDelta
impl PartialEq for PresenceDelta
Source§impl Serialize for PresenceDelta
impl Serialize for PresenceDelta
impl StructuralPartialEq for PresenceDelta
Auto Trait Implementations§
impl Freeze for PresenceDelta
impl RefUnwindSafe for PresenceDelta
impl Send for PresenceDelta
impl Sync for PresenceDelta
impl Unpin for PresenceDelta
impl UnwindSafe for PresenceDelta
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