pub struct FriendRequestRemovedEvent {
pub data: Box<FriendRequestRemovedEventData>,
}Expand description
FriendRequestRemovedEvent : Represents an event indicating that a friend request was removed. Requires the stream:read and players:read scopes to receive this event.
Fields§
§data: Box<FriendRequestRemovedEventData>Implementations§
Source§impl FriendRequestRemovedEvent
impl FriendRequestRemovedEvent
Sourcepub fn new(data: FriendRequestRemovedEventData) -> FriendRequestRemovedEvent
pub fn new(data: FriendRequestRemovedEventData) -> FriendRequestRemovedEvent
Represents an event indicating that a friend request was removed. Requires the stream:read and players:read scopes to receive this event.
Trait Implementations§
Source§impl Clone for FriendRequestRemovedEvent
impl Clone for FriendRequestRemovedEvent
Source§fn clone(&self) -> FriendRequestRemovedEvent
fn clone(&self) -> FriendRequestRemovedEvent
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 FriendRequestRemovedEvent
impl Debug for FriendRequestRemovedEvent
Source§impl Default for FriendRequestRemovedEvent
impl Default for FriendRequestRemovedEvent
Source§fn default() -> FriendRequestRemovedEvent
fn default() -> FriendRequestRemovedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FriendRequestRemovedEvent
impl<'de> Deserialize<'de> for FriendRequestRemovedEvent
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
impl StructuralPartialEq for FriendRequestRemovedEvent
Auto Trait Implementations§
impl Freeze for FriendRequestRemovedEvent
impl RefUnwindSafe for FriendRequestRemovedEvent
impl Send for FriendRequestRemovedEvent
impl Sync for FriendRequestRemovedEvent
impl Unpin for FriendRequestRemovedEvent
impl UnsafeUnpin for FriendRequestRemovedEvent
impl UnwindSafe for FriendRequestRemovedEvent
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