pub enum IdentityComponent {
Numeric(String),
Name(String),
Expression(String),
Empty,
}Expand description
One lexical component of a container user/group value.
Variants§
Numeric(String)
An unsigned numeric UID or GID, with spelling retained.
Name(String)
A user or group name.
Expression(String)
A deferred Compose interpolation expression.
Empty
An explicitly empty component.
Implementations§
Trait Implementations§
Source§impl Clone for IdentityComponent
impl Clone for IdentityComponent
Source§fn clone(&self) -> IdentityComponent
fn clone(&self) -> IdentityComponent
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 moreSource§impl Debug for IdentityComponent
impl Debug for IdentityComponent
impl Eq for IdentityComponent
Source§impl PartialEq for IdentityComponent
impl PartialEq for IdentityComponent
impl StructuralPartialEq for IdentityComponent
Auto Trait Implementations§
impl Freeze for IdentityComponent
impl RefUnwindSafe for IdentityComponent
impl Send for IdentityComponent
impl Sync for IdentityComponent
impl Unpin for IdentityComponent
impl UnsafeUnpin for IdentityComponent
impl UnwindSafe for IdentityComponent
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