pub struct User {
pub username: String,
pub display_name: String,
pub groups: Vec<String>,
pub roles: Vec<Role>,
pub password: Option<String>,
}Fields§
§username: String§display_name: String§groups: Vec<String>§roles: Vec<Role>§password: Option<String>Implementations§
Trait Implementations§
Source§impl PartialOrd for User
impl PartialOrd for User
impl Eq for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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