pub struct UpdateUserStatus {
pub user_id: i64,
pub status: UserStatus,
}
Expand description
The user went online or offline
Fields§
§user_id: i64
User identifier
status: UserStatus
New status of the user
Trait Implementations§
Source§impl Clone for UpdateUserStatus
impl Clone for UpdateUserStatus
Source§fn clone(&self) -> UpdateUserStatus
fn clone(&self) -> UpdateUserStatus
Returns a copy 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 UpdateUserStatus
impl Debug for UpdateUserStatus
Source§impl<'de> Deserialize<'de> for UpdateUserStatus
impl<'de> Deserialize<'de> for UpdateUserStatus
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 UpdateUserStatus
impl PartialEq for UpdateUserStatus
Source§impl Serialize for UpdateUserStatus
impl Serialize for UpdateUserStatus
impl StructuralPartialEq for UpdateUserStatus
Auto Trait Implementations§
impl Freeze for UpdateUserStatus
impl RefUnwindSafe for UpdateUserStatus
impl Send for UpdateUserStatus
impl Sync for UpdateUserStatus
impl Unpin for UpdateUserStatus
impl UnwindSafe for UpdateUserStatus
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