#[repr(transparent)]pub struct HMPresenceEventUserType(pub NSUInteger);Available on crate feature
HMPresenceEventDefines only.Expand description
This enumeration describes the different types of user sets in presence events.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl HMPresenceEventUserType
impl HMPresenceEventUserType
Sourcepub const CurrentUser: Self
pub const CurrentUser: Self
Only current user’s presence is used.
Sourcepub const CustomUsers: Self
pub const CustomUsers: Self
Presence of custom set of home users is used.
Trait Implementations§
Source§impl Clone for HMPresenceEventUserType
impl Clone for HMPresenceEventUserType
Source§fn clone(&self) -> HMPresenceEventUserType
fn clone(&self) -> HMPresenceEventUserType
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 HMPresenceEventUserType
impl Debug for HMPresenceEventUserType
Source§impl Encode for HMPresenceEventUserType
impl Encode for HMPresenceEventUserType
Source§impl Hash for HMPresenceEventUserType
impl Hash for HMPresenceEventUserType
Source§impl Ord for HMPresenceEventUserType
impl Ord for HMPresenceEventUserType
Source§fn cmp(&self, other: &HMPresenceEventUserType) -> Ordering
fn cmp(&self, other: &HMPresenceEventUserType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HMPresenceEventUserType
impl PartialEq for HMPresenceEventUserType
Source§impl PartialOrd for HMPresenceEventUserType
impl PartialOrd for HMPresenceEventUserType
Source§impl RefEncode for HMPresenceEventUserType
impl RefEncode for HMPresenceEventUserType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for HMPresenceEventUserType
impl Eq for HMPresenceEventUserType
impl StructuralPartialEq for HMPresenceEventUserType
Auto Trait Implementations§
impl Freeze for HMPresenceEventUserType
impl RefUnwindSafe for HMPresenceEventUserType
impl Send for HMPresenceEventUserType
impl Sync for HMPresenceEventUserType
impl Unpin for HMPresenceEventUserType
impl UnwindSafe for HMPresenceEventUserType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.