pub struct UserOperationResult {
pub success: bool,
pub message: String,
pub username: Option<String>,
pub groups: Option<Vec<String>>,
pub already_exists: bool,
}Expand description
Result of a user operation
Fields§
§success: boolWhether the operation succeeded
message: StringMessage describing the result
username: Option<String>Username (for create operations)
groups: Option<Vec<String>>Groups assigned (for create operations)
already_exists: boolWhether the user already existed
Trait Implementations§
Source§impl Debug for UserOperationResult
impl Debug for UserOperationResult
Source§impl Default for UserOperationResult
impl Default for UserOperationResult
Source§fn default() -> UserOperationResult
fn default() -> UserOperationResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserOperationResult
impl RefUnwindSafe for UserOperationResult
impl Send for UserOperationResult
impl Sync for UserOperationResult
impl Unpin for UserOperationResult
impl UnsafeUnpin for UserOperationResult
impl UnwindSafe for UserOperationResult
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