pub struct Group {
pub name: String,
pub gid: u32,
pub user_list: Option<Vec<String>>,
}Expand description
Structure used to wrap parsed information from groups database
Fields§
§name: StringGroup’s name
gid: u32Group’s GID
user_list: Option<Vec<String>>List of users for group
Trait Implementations§
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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