pub struct SubidRange {
pub start: u32,
pub count: u32,
}Expand description
A delegated subordinate ID range parsed from /etc/subuid or /etc/subgid.
Mirrors the login.subuid / login.subgid scheme used by Docker, Podman,
and newuidmap/newgidmap: <user>:<start>:<count>.
Fields§
§start: u32§count: u32Implementations§
Source§impl SubidRange
impl SubidRange
Trait Implementations§
Source§impl Clone for SubidRange
impl Clone for SubidRange
Source§fn clone(&self) -> SubidRange
fn clone(&self) -> SubidRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubidRange
Source§impl Debug for SubidRange
impl Debug for SubidRange
impl Eq for SubidRange
Source§impl PartialEq for SubidRange
impl PartialEq for SubidRange
Source§fn eq(&self, other: &SubidRange) -> bool
fn eq(&self, other: &SubidRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubidRange
Auto Trait Implementations§
impl Freeze for SubidRange
impl RefUnwindSafe for SubidRange
impl Send for SubidRange
impl Sync for SubidRange
impl Unpin for SubidRange
impl UnsafeUnpin for SubidRange
impl UnwindSafe for SubidRange
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