#[repr(C)]pub struct NotificationEvent {
pub type_: u8_,
pub padding: [u8_; 7],
pub sender: FriendKey,
}Expand description
Friend Notification Event structure
Fields§
§type_: u8_< Type of event.
padding: [u8_; 7]§sender: FriendKey< Friend key of friend who caused this notification event to be sent.
Trait Implementations§
Source§impl Clone for NotificationEvent
impl Clone for NotificationEvent
Source§fn clone(&self) -> NotificationEvent
fn clone(&self) -> NotificationEvent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotificationEvent
impl Debug for NotificationEvent
Source§impl Default for NotificationEvent
impl Default for NotificationEvent
Source§fn default() -> NotificationEvent
fn default() -> NotificationEvent
Returns the “default value” for a type. Read more
impl Copy for NotificationEvent
Auto Trait Implementations§
impl Freeze for NotificationEvent
impl RefUnwindSafe for NotificationEvent
impl Send for NotificationEvent
impl Sync for NotificationEvent
impl Unpin for NotificationEvent
impl UnwindSafe for NotificationEvent
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)