pub enum UserModuleInternalApiCall {
Add {
username: String,
uid: Option<u32>,
group: Option<String>,
groups: Option<Vec<String>>,
shell: Option<String>,
home: Option<String>,
comment: Option<String>,
password: Option<String>,
system: bool,
create_home: bool,
},
Modify {
username: String,
uid: Option<u32>,
group: Option<String>,
groups: Option<Vec<String>>,
append: bool,
shell: Option<String>,
home: Option<String>,
comment: Option<String>,
password: Option<String>,
},
Delete {
username: String,
remove_home: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for UserModuleInternalApiCall
impl Clone for UserModuleInternalApiCall
Source§impl Debug for UserModuleInternalApiCall
impl Debug for UserModuleInternalApiCall
Source§impl<'de> Deserialize<'de> for UserModuleInternalApiCall
impl<'de> Deserialize<'de> for UserModuleInternalApiCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UserModuleInternalApiCall
impl Display for UserModuleInternalApiCall
impl StructuralPartialEq for UserModuleInternalApiCall
Auto Trait Implementations§
impl Freeze for UserModuleInternalApiCall
impl RefUnwindSafe for UserModuleInternalApiCall
impl Send for UserModuleInternalApiCall
impl Sync for UserModuleInternalApiCall
impl Unpin for UserModuleInternalApiCall
impl UnsafeUnpin for UserModuleInternalApiCall
impl UnwindSafe for UserModuleInternalApiCall
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