pub struct CreateIsolatedUserOptions {
pub include_groups: Option<Vec<String>>,
pub exclude_groups: Option<Vec<String>>,
pub no_login: bool,
}Expand description
Options for creating an isolated user
Fields§
§include_groups: Option<Vec<String>>Only include these groups
exclude_groups: Option<Vec<String>>Exclude these groups
no_login: boolCreate with nologin shell
Trait Implementations§
Source§impl Debug for CreateIsolatedUserOptions
impl Debug for CreateIsolatedUserOptions
Source§impl Default for CreateIsolatedUserOptions
impl Default for CreateIsolatedUserOptions
Source§fn default() -> CreateIsolatedUserOptions
fn default() -> CreateIsolatedUserOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateIsolatedUserOptions
impl RefUnwindSafe for CreateIsolatedUserOptions
impl Send for CreateIsolatedUserOptions
impl Sync for CreateIsolatedUserOptions
impl Unpin for CreateIsolatedUserOptions
impl UnsafeUnpin for CreateIsolatedUserOptions
impl UnwindSafe for CreateIsolatedUserOptions
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