Struct reinfer_client::resources::user::NewUser[][src]

pub struct NewUser<'r> {
    pub username: &'r Username,
    pub email: &'r Email,
    pub global_permissions: &'r [GlobalPermission],
    pub organisation_permissions: &'r HashMap<Organisation, HashSet<OrganisationPermission>>,
}

Fields

username: &'r Usernameemail: &'r Emailglobal_permissions: &'r [GlobalPermission]organisation_permissions: &'r HashMap<Organisation, HashSet<OrganisationPermission>>

Trait Implementations

impl<'r> Clone for NewUser<'r>[src]

impl<'r> Debug for NewUser<'r>[src]

impl<'r> Serialize for NewUser<'r>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.