#[non_exhaustive]pub enum OdMemberIdValue<'a> {
UserName(&'a OsStr),
UserUuid(uuid_t),
GroupUuid(uuid_t),
}Available on macOS and crate feature
macos_14_0_0 only.Expand description
A member identity.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UserName(&'a OsStr)
Group member is a user, designated by name
UserUuid(uuid_t)
Group member is a user, designated by UUID
GroupUuid(uuid_t)
Group member is another group, designated by UUID
Trait Implementations§
Source§impl<'a> Debug for OdMemberIdValue<'a>
impl<'a> Debug for OdMemberIdValue<'a>
impl<'a> Eq for OdMemberIdValue<'a>
Source§impl<'a> Hash for OdMemberIdValue<'a>
impl<'a> Hash for OdMemberIdValue<'a>
Source§impl<'a> PartialEq for OdMemberIdValue<'a>
impl<'a> PartialEq for OdMemberIdValue<'a>
Source§fn eq(&self, other: &OdMemberIdValue<'a>) -> bool
fn eq(&self, other: &OdMemberIdValue<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Send for OdMemberIdValue<'_>
impl<'a> StructuralPartialEq for OdMemberIdValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for OdMemberIdValue<'a>
impl<'a> RefUnwindSafe for OdMemberIdValue<'a>
impl<'a> Sync for OdMemberIdValue<'a>
impl<'a> Unpin for OdMemberIdValue<'a>
impl<'a> UnsafeUnpin for OdMemberIdValue<'a>
impl<'a> UnwindSafe for OdMemberIdValue<'a>
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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