Struct reinfer_client::resources::user::NewUser
source · pub struct NewUser<'r> {
pub username: &'r Username,
pub email: &'r Email,
pub global_permissions: &'r [GlobalPermission],
pub project_permissions: &'r HashMap<ProjectName, HashSet<ProjectPermission>>,
}
Fields§
§username: &'r Username
§email: &'r Email
§global_permissions: &'r [GlobalPermission]
§project_permissions: &'r HashMap<ProjectName, HashSet<ProjectPermission>>
Trait Implementations§
source§impl<'r> PartialEq for NewUser<'r>
impl<'r> PartialEq for NewUser<'r>
impl<'r> Eq for NewUser<'r>
impl<'r> StructuralPartialEq for NewUser<'r>
Auto Trait Implementations§
impl<'r> Freeze for NewUser<'r>
impl<'r> RefUnwindSafe for NewUser<'r>
impl<'r> Send for NewUser<'r>
impl<'r> Sync for NewUser<'r>
impl<'r> Unpin for NewUser<'r>
impl<'r> UnwindSafe for NewUser<'r>
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.