pub struct UserAndGroup {
pub user: NameOrId,
pub group: Option<NameOrId>,
}
Expand description
User and (optionally) group.
Fields§
§user: NameOrId
User or UID.
group: Option<NameOrId>
Group or GID.
Implementations§
Source§impl UserAndGroup
impl UserAndGroup
Trait Implementations§
Source§impl Clone for UserAndGroup
impl Clone for UserAndGroup
Source§fn clone(&self) -> UserAndGroup
fn clone(&self) -> UserAndGroup
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 UserAndGroup
impl Debug for UserAndGroup
Source§impl PartialEq for UserAndGroup
impl PartialEq for UserAndGroup
impl Eq for UserAndGroup
impl StructuralPartialEq for UserAndGroup
Auto Trait Implementations§
impl Freeze for UserAndGroup
impl RefUnwindSafe for UserAndGroup
impl Send for UserAndGroup
impl Sync for UserAndGroup
impl Unpin for UserAndGroup
impl UnwindSafe for UserAndGroup
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