#[repr(C)]pub struct FriendPresence {
pub presence: Presence,
pub isPresenceLoaded: bool,
pub hasSentInvitation: bool,
pub found: bool,
pub pad: u8_,
}Expand description
Friend presence data
Fields§
§presence: Presence< The actual presence data.
isPresenceLoaded: bool< Whether or not the presence data for this user has been loaded from the server.
hasSentInvitation: bool< Whether or not this friend has sent the current user an invitation.
found: bool< Whether or not this friend was found.
pad: u8_Trait Implementations§
Source§impl Clone for FriendPresence
impl Clone for FriendPresence
Source§fn clone(&self) -> FriendPresence
fn clone(&self) -> FriendPresence
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 FriendPresence
impl Debug for FriendPresence
Source§impl Default for FriendPresence
impl Default for FriendPresence
Source§fn default() -> FriendPresence
fn default() -> FriendPresence
Returns the “default value” for a type. Read more
impl Copy for FriendPresence
Auto Trait Implementations§
impl Freeze for FriendPresence
impl RefUnwindSafe for FriendPresence
impl Send for FriendPresence
impl Sync for FriendPresence
impl Unpin for FriendPresence
impl UnwindSafe for FriendPresence
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)