pub fn new<N, P, A, O>(name: N, password: P, active: A, extra: O) -> Self
    where
        N: Into<String>,
        P: Into<Option<String>>,
        A: Into<Option<bool>>,
        O: Into<Option<E>>,
    {
        NewUser {
            user: name.into(),
            passwd: password.into(),
            active: active.into(),
            extra: extra.into(),
        }
    }
/// Constructs an new instance of `NewUser` with all attributes explicitly
/// set.
Constructs an new instance of `NewUser` with all attributes explicitly
set.
Constructs an new instance of ` NewUser ` with all attributes explicitly set .
pub fn new<N, P, A, O>(name: N, password: P, active: A, extra: O) -> Self
    where
        N: Into<String>,
        P: Into<Option<String>>,
        A: Into<Option<bool>>,
        O: Into<Option<E>>,
    {
        NewUser {
            user: name.into(),
            passwd: password.into(),
            active: active.into(),
            extra: extra.into(),
        }
    }
pub fn new < N , P , A , O > ( name : N , password : P , active : A , extra : O ) -> Self where N : Into < String > , P : Into < Option < String > > , A : Into < Option < bool > > , O : Into < Option < E > > , { NewUser { user : name . into ( ) , passwd : password . into ( ) , active : active . into ( ) , extra : extra . into ( ) , } }
Constructs an new instance of `NewUser` with all attributes explicitly
set.
Constructs an new instance of ` NewUser ` with all attributes explicitly set .
name
N
password
P
active
A
extra
O
name
N
password
P
active
A
extra
O