pub enum FriendsEventStatus {
Offline,
Online,
Lost,
Requested,
Added,
Declined,
}
Expand description
The status of the event related to the friend.
Variants§
Offline
The friend has gone offline.
Online
The friend has gone online.
Lost
Fired when the current player removes a friend from their friend list.
Requested
The current player has sent a friend request to the given player.
Added
A friend was added to the current player’s friend list.
Declined
Fired when a friend request was declined.
Trait Implementations§
Source§impl Clone for FriendsEventStatus
impl Clone for FriendsEventStatus
Source§fn clone(&self) -> FriendsEventStatus
fn clone(&self) -> FriendsEventStatus
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 FriendsEventStatus
impl Debug for FriendsEventStatus
Source§impl<'de> Deserialize<'de> for FriendsEventStatus
impl<'de> Deserialize<'de> for FriendsEventStatus
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 FriendsEventStatus
impl PartialEq for FriendsEventStatus
Source§impl Serialize for FriendsEventStatus
impl Serialize for FriendsEventStatus
impl StructuralPartialEq for FriendsEventStatus
Auto Trait Implementations§
impl Freeze for FriendsEventStatus
impl RefUnwindSafe for FriendsEventStatus
impl Send for FriendsEventStatus
impl Sync for FriendsEventStatus
impl Unpin for FriendsEventStatus
impl UnwindSafe for FriendsEventStatus
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