pub enum GroupReference {
Numeric(u32),
Name(String),
Path(String),
}Expand description
In sysusers, a user can refer to a group via name or number
Variants§
Trait Implementations§
Source§impl Debug for GroupReference
impl Debug for GroupReference
Source§impl From<u32> for GroupReference
impl From<u32> for GroupReference
Source§impl FromStr for GroupReference
impl FromStr for GroupReference
Source§impl PartialEq for GroupReference
impl PartialEq for GroupReference
Source§fn eq(&self, other: &GroupReference) -> bool
fn eq(&self, other: &GroupReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GroupReference
impl StructuralPartialEq for GroupReference
Auto Trait Implementations§
impl Freeze for GroupReference
impl RefUnwindSafe for GroupReference
impl Send for GroupReference
impl Sync for GroupReference
impl Unpin for GroupReference
impl UnsafeUnpin for GroupReference
impl UnwindSafe for GroupReference
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