pub struct GroupEntry {
pub name: String,
pub passwd: String,
pub gid: gid_t,
pub members: Vec<String>,
}Expand description
An entry from /etc/group
Fields§
§name: StringGroup Name
passwd: StringGroup Password
gid: gid_tGroup ID
members: Vec<String>Group Members
Trait Implementations§
Source§impl Debug for GroupEntry
impl Debug for GroupEntry
Source§impl Entry for GroupEntry
impl Entry for GroupEntry
fn from_line(line: &str) -> Result<GroupEntry, ParseIntError>
Source§impl PartialEq for GroupEntry
impl PartialEq for GroupEntry
Source§impl PartialOrd for GroupEntry
impl PartialOrd for GroupEntry
impl StructuralPartialEq for GroupEntry
Auto Trait Implementations§
impl Freeze for GroupEntry
impl RefUnwindSafe for GroupEntry
impl Send for GroupEntry
impl Sync for GroupEntry
impl Unpin for GroupEntry
impl UnwindSafe for GroupEntry
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